An A.I. Take on TIC-TAC-TOE

Category:
Multimedia/Games
Type:
Applications
Difficulty:
Advanced
Author:
T.Jackson

Version Compatibility: Visual Basic 6

More information:
[Updated 12/03/06] This TIC-TAC-TOE submission by Trent Jackson is a well known simple game made quite complex. Includes numerous LED readouts for total wins, losses, best times, round duration, total rounds and draws. You can play against the computer or another person. An Intelligent AI has been coded with 'human like' perceptions. Most people play the game by first analyzing their own play followed by their opponents. Most people lose the game because, they're, well, human. Perhaps because of a distraction or just one of those moments. AI follows a very similar trend where as, based on randomly generated odds, it will either trigger one of these 'human like moments' or make perfect moves. First attempting to find a winning streak then looking at blocking your win. There's 3 difficulty levels, easy, normal and hard. These determine the overall odds in your favor. When the AI is set to hard, 95% of the time it will make calculated moves. For easy, 40% of the time it will just make no brainier moves. It also includes simple animation, sounds (optional), music (optional) and a few other user-defined parameters. All settings are saved and loaded at startup. This game uses the mouse as the input device for playing the game. Best of all, it's only an 89kb download.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download tictactoe.zip