TIC TAC TOE LOGIC FOR COMPUTER | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

TIC TAC TOE LOGIC FOR COMPUTER

Please Im in need of a simple pseudo-code or algorithms for a tic tac toe game. The MINIMAX one i found online seems complicated and hard to comprehend.

9th Nov 2017, 12:18 PM
Ridwan
Ridwan - avatar
2 Answers
+ 1
Why the urgency? tic tac toe is nothing more than a multidimensional array with conditions. Of course you can do it several ways. I've seen one done with a ton of if/else statements and variables for each column and row.
9th Nov 2017, 12:48 PM
Sapphire
0
I mean some sort of rules (like AI) the computer uses when the player wishes to play against the computer.
9th Nov 2017, 2:48 PM
Ridwan
Ridwan - avatar