Click to See Complete Forum and Search --> : Programming Tic-Tac-Toe


JSD1985
February 21st, 2009, 11:58 AM
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

toraj58
February 22nd, 2009, 12:52 AM
there is a complete example in this book with Coputer AI:

Sams - Teach Yourself the C# Language in 21 Days

JSD1985
February 22nd, 2009, 04:33 AM
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

toraj58
February 22nd, 2009, 06:19 AM
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