Try doing the math model for all
possible choices in a matrices 3*3*3... I will get the model later. THat would
take little code for the computer would be looking at each choice instantly.
Very little code, just a selection. Then possibly a need for counter move
container...
Bruce
Anywho about the AI, wouldn't it constain a lot of code? Is it possible to make this as little code as possible? Humm I'll see what I come up with. On 9/23/07, Ian
Mallett <geometrian@xxxxxxxxx> wrote:
I see you've posted your tic tac toe game. For AI, I recommend checking each available square, and figuring out which is the best to play. I've attached a screenshot of an error... |