Unbeatable Tic Tac Toe

Unbeatable Tic Tac Toe
0

#1

I think I’m finished…should be bug free and unbeatable. Feedback is welcome!

https://hbontz.github.io/ticTacToe/


#2

Unbeatable because it cheats!
This is what happened

I choose X and start the game ( I’m going to use this grid notation
012
345
678
)

  • Me: 6 - Cpu: 4
  • Me: 5 - CPU: 0
  • Me: 8 - CPU: 7 and 2

:scream:


#3

Ha, so unbeatable…right? Thank you for finding the bug and showing me how it happened. I’ll fix it!


#4

Computers always cheats :smiley: