Tic tac toe game on Node.js