Thread: Tic Tac Toe
View Single Post
Old 07/05/2009, 09:32 PM   #17 (permalink)
kmax12
Member
 
Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes Received: 0
Thanks: 32
Thanked 166 Times in 26 Posts
Default

So, I am stumped. I am trying to write the AI for the next version of tic tac toe and I cant figure out how the AI should choose its move. More specifically, how can the AI identify the human player has two out of three in a row and make its next move to block it. If anyone can help me out with Ideas id be happy to send them the code.

I am kind of a noob when it comes to programing so I am not the best problem solver yet.

thanks in advance.
kmax12 is offline   Reply With Quote