Tic Tac Toe Artificial Intelligence
Posted: Sun Mar 01, 2009 2:16 pm
At this point I'm skrewed.
When I started this project, I thought that the experiment was to just make the 2 player game, so when I saw all the codes were given I thought this was going to be easy.
Then two days ago, after I had that part of the project done for a week I noticed the Experimental Procedures section, and my life has been a mess since.
Something that hasn't helped was that I was so naive to not even do the recommended things before this, and wasn't even fluent in JavaScript. So I've been running through trial and error, and all I've gotton is error.
I'm unable to make the function makeComputerMove() make a button change its value to O, so could someone please help me.
When I started this project, I thought that the experiment was to just make the 2 player game, so when I saw all the codes were given I thought this was going to be easy.
Then two days ago, after I had that part of the project done for a week I noticed the Experimental Procedures section, and my life has been a mess since.
Something that hasn't helped was that I was so naive to not even do the recommended things before this, and wasn't even fluent in JavaScript. So I've been running through trial and error, and all I've gotton is error.
I'm unable to make the function makeComputerMove() make a button change its value to O, so could someone please help me.