Tic Tac Toe
Tic Tac Toe
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.
- Attachments
-
- Toe.zip
- (18.22 KiB) Downloaded 585 times
Chili
-
- Posts: 4
- Joined: March 19th, 2012, 12:01 am
- Contact:
Re: Tic Tac Toe
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
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
I'd guess the 'O' player follows the heuristic rules.
Re: Tic Tac Toe
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.
Thanks in advance.
Re: Tic Tac Toe
The AI for the TicTacToe game can actually be found in the most recent intermediate lesson download.
Chili
Re: Tic Tac Toe
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
http://www.planetchili.net/forum/downlo ... php?id=968
Re: Tic Tac Toe
I will resist the temptation and try to do the program myself.
Re: Tic Tac Toe
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
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.
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.
ʕ •ᴥ•ʔ
-
- Posts: 51
- Joined: September 3rd, 2013, 7:58 pm
Re: Tic Tac Toe
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?