loading...

re: I wrote an unbeatable Tic-Tac-Toe AI in Java VIEW POST

TOP OF THREAD FULL DISCUSSION
re: 2 | | 1 | | 0 | | 0 1 2 Enter position (x, y): 1,1 2 | | 1 |O| 0 | | 0 1 2 AI is playing... 2 X| | 1 |O| ...
 

This is because you placed a piece in a spot that already has a piece, I forgot to check for that in my code

Code of Conduct Report abuse