Tic Tac Toe Help

I created a Tic-Tac-Toe game with an option for the user to play against themselves, but I also wanted to add an option for the user to play against a machine. I've been trying to fix it, but I don't have much knowledge in coding. Any help would be much appreciated.

ticTacToeGame (1).aia (10.2 KB)

here is a tic tac toe game I have made long time ago:
JingZiQi_copy.aia (356.9 KB)
which used Minimax Algorithm,
I blocked it from a javascript i found on internet.


Try to see if you can beat the AI.

1 Like