Update TicTacToe for use in node