vohom001
March 17th, 2009, 09:08 PM
Hi all, I am an A level student and really new to programming and we are meant to make a tic tac toe game where human player can play against computer, however so far I have only implemented the code for 2 human players and it detects if any1 wins...what I now need is AI for the computer's turn...
Can I please get any help to get started on the AI....
Ive attached full code in a word document and a screen shot of the program.
I use visual studio 2008...
EDIT: I did some research and lot of other developers made their game by using labels in array...but problem here is that they made it in VB6 where creating control array is as simple as copy and pasting and in vb.net its not......so I read the Microsoft's article on how to create (duplicate) controls array but I don't know how to merge that into my game even if i start all over again from scratch which I don't mind if it solves the problem.
Thank you.
Can I please get any help to get started on the AI....
Ive attached full code in a word document and a screen shot of the program.
I use visual studio 2008...
EDIT: I did some research and lot of other developers made their game by using labels in array...but problem here is that they made it in VB6 where creating control array is as simple as copy and pasting and in vb.net its not......so I read the Microsoft's article on how to create (duplicate) controls array but I don't know how to merge that into my game even if i start all over again from scratch which I don't mind if it solves the problem.
Thank you.