working tic-tac-toe game with no firebase