Client/server minesweeper in Node.JS