CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Tic Tac Toe AI

Threaded View

  1. #1
    Join Date
    Mar 2009
    Posts
    1

    Tic Tac Toe AI

    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.
    Attached Files Attached Files
    Last edited by vohom001; March 17th, 2009 at 09:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured