Had some free time this weekend so I started looking into AI related stuff, for simplicity solving the Tic-Tac-Toe game. It plays quite well, but makes some surprizing choises...
Code is not very optimized, and the AI and Evaluate functions can be changed to play the specific game better, but I've purposely left that out. I might tweak it into playing some "Space Combat" scenarios later on.
Enjoy. Please comment, or be horrified of, my rather ancient C++ knowledge - as I'm an ANSI C and perl guy
M.
AI related, a take at the classic Tic-Tac-Toe
Moderator: Committer
AI related, a take at the classic Tic-Tac-Toe
- Attachments
-
- tictactoe-0.01.tgz
- (1.97 KiB) Downloaded 171 times