Tic Tac Toe - Any Feedback appreciated

Tic Tac Toe - Any Feedback appreciated
0.0 0

#1

Here’s my Tic Tac Toe Game

Many thanks in advance for feedback on improvements, bugs etc… :wink:


#2
  1. “Would you like to be X or O” still displays after I hit the back button to return to player selection.
  2. If I click boxes rapidly and box I clicked was taken by the AI then the computer just assigns my X to a random box. Maybe limiting the X/O draws per second would fix that?
  3. If I rapidly click the top middle box, the the middle middle box, then the middle left box, then the top left box I can win the game consistently.

#3

Hey @rinran,

Thanks a lot for your feedback, greatly appreciated!

  1. Completely missed that one, fixed now.
  2. & 3. Fixed that one by removing the eventlistener after the players move and adding it back only after the computers play. Should be fine now for even the fastest fingers… :wink:

Further (not related to your comments, but just as a note); Added the logic of whoever has X, will start the game…