CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    5

    Programming Tic-Tac-Toe

    Hello everyone,

    I want to program Tic-Tac-Toe with C# and I want to use the MinMax algorhytmn for the computer A.I.

    Does anyone know where I can find tutorials or explanations how to do this? I can program a tic-tac-toe game for 2 players but now I really want a computer competator.

    Tnx!
    Jeroen

  2. #2
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: Programming Tic-Tac-Toe

    there is a complete example in this book with Coputer AI:

    Sams - Teach Yourself the C# Language in 21 Days
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

  3. #3
    Join Date
    Feb 2009
    Posts
    5

    Re: Programming Tic-Tac-Toe

    Thanks! I ordered the book by Bol.com

    I will take 3 till 5 days before i receive it so does anyone know other good tutorial sides for this example?

    Tnx!

    Jeroen

  4. #4
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: Programming Tic-Tac-Toe

    Tic-Tac-Toe and MinMax Algorithm are very famous. searching in google will help you find sources and then you can combine the implementation of the MinMax with the Tic-Tac-Toe game.
    or maybe you fnd an already implemented one.

    try to search on this site also:
    www.codeproject.com
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

Tags for this Thread

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