Page 1 of 1

How do I add the AI scirpt to the Tic-Tac-Toe Script?

Posted: Tue Nov 04, 2008 5:43 pm
by Nathan Slavik
What the title said. How? I odn't know where. :(

Re: How do I add the AI scirpt to the Tic-Tac-Toe Script?

Posted: Tue Nov 04, 2008 6:00 pm
by deleted-71447
Hi Nathan,
Welcome to the Ask an Expert Forums. Are you working on this project?
http://www.sciencebuddies.com/mentoring ... p019.shtml
Have you read the section titled "Experimental Procedure"? That will give you some instructions about how to add the AI. Please let us know if you still have problems.
Looking forward to hearing more about your project,
Chris

Re: How do I add the AI scirpt to the Tic-Tac-Toe Script?

Posted: Tue Nov 04, 2008 6:27 pm
by Nathan Slavik
I did read this section but still am having difficulty with the looping, and the content to get the computer to play. I am wanting to start with a simple program that will allow the computer to put the move in the first open square.

Any suggestions?

Nate

Re: How do I add the AI scirpt to the Tic-Tac-Toe Script?

Posted: Tue Nov 11, 2008 9:49 am
by deleted-71677
Hi Nate,

How are things going on this project? Are you still having trouble?

If you could tell me more details about what is hard to understand, I can help you. Do you already have a tic-tac-toe board working which can handle two players? Make sure this works well first. Then tell me what problems you are having with adding the AI so that you can play against the computer.

Laura