Page 1 of 2

Tic Tac Toe

Posted: March 13th, 2012, 3:37 pm
by chili
So this program uses two different AI algorithms for the 'X' player and the 'O' player. One algorithm is just a random selection from among the unoccupied spaces, and the other follows some simple heuristic rules. Try to guess which is which. :)

Re: Tic Tac Toe

Posted: March 19th, 2012, 12:47 am
by Alex MBOULA
Hi dear chili, i'm a new comer in your very good website,i'm french and my english is very poor. i have a problem and i need a help.

i have a school project to make a game with Directx 11 and framework DXUT and i'm at the base student in network computing. this project is the way for my admission in M2 Administration and Security in Network who is my ability. Please can you help me ???
Thank you :)

Re: Tic Tac Toe

Posted: May 5th, 2012, 12:27 pm
by cookiez
I'd guess the 'O' player follows the heuristic rules. :)

Re: Tic Tac Toe

Posted: September 20th, 2013, 12:59 am
by timidek
Hey guys, I tried to find the code for Tic Tac Toe, but ended up only with the .exe file which I don`t need. I would be very pleased if you (chili maybe) could post a full code of the lesson 12 homework (the AI especially).

Thanks in advance.

Re: Tic Tac Toe

Posted: September 20th, 2013, 3:07 am
by chili
The AI for the TicTacToe game can actually be found in the most recent intermediate lesson download.

Re: Tic Tac Toe

Posted: September 20th, 2013, 5:27 am
by timidek
When my children will go through the chili`s tutorials and bump onto the lesson 12 problem, I want them to go back on track as fast as possible, so I`m going to post a direct link to the zip file with AI code (just for them and maybe a few derailed young padawans).

http://www.planetchili.net/forum/downlo ... php?id=968

Re: Tic Tac Toe

Posted: September 21st, 2013, 5:43 pm
by Multibyte
I will resist the temptation and try to do the program myself. :)

Re: Tic Tac Toe

Posted: November 3rd, 2013, 8:31 am
by V1lena221
chili wrote:So this program uses two different AI algorithms for the 'X' player and the 'O' player. One algorithm is just a random selection from among the unoccupied spaces, and the other follows some simple heuristic rules. Try to guess which is which. :)

OMG Avira identified as a virus zip fail.
Show me, please, the code itself AT the forum. Very interesting to see it.

'm sorry online translator makes that may )

Re: Tic Tac Toe

Posted: November 3rd, 2013, 9:31 am
by LuX
No viruses, I promise ;- )
Nah, but in all seriousness there are no viruses in the files released by chili, and it's safe to assume that neither in anyone else's. Just ignore the alert.

Re: Tic Tac Toe

Posted: November 30th, 2013, 11:01 pm
by bonjovifan
I downloaded the intermediate lesson for the AI interface for the tic tac toe game and tried to understand it, but can't seem to manage. Is there an explanation for the AI moves that's easy to follow?