🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

basic ai without tree structure (min-max)

Started by
10 comments, last by AlanMcCormick 12 years, 10 months ago
[color=#1C2837][size=2]You don't have to hardcode the control names into the array based version. It's just board[x][y] versus BoardControl3.Tag and BoardControl4.Tag and.... [/quote]


That sounds a lot better suited code wise in reading and writing...


alvaro - Thanks for the examples, will prove helpful in re-fining the logic I'm going through!
Advertisement
If you are interested, I have a Tic Tac Toe game I made for a friend a while back written in .NET. It also has a computer player with several levels of difficulty and uses a negamax search to find the best moves. I would be glad to send the source code to you. I made it for a friend who was trying to learn C#.

This topic is closed to new replies.

Advertisement