I saw another person was implementing a tic tac toe game and wondered if creating a 2x array in the form of a magic square would help for implementing AI in such a problem.
I saw another person was implementing a tic tac toe game and wondered if creating a 2x array in the form of a magic square would help for implementing AI in such a problem.
What is a "magic square"? Anyway, I doubt that it would help. It's a job for an expert system, really (a bunch of if statements)
Away.
>>What is a magic square
http://mathforum.org/alejandre/magic...hatsquare.html
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
That was the OPs question, in a round-about kinda way.Originally posted by Salem
How would knowing how to create a magic square help you play tic-tac-toe?
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]