Connect Five AI
Connect Five is a board game in which you need to place five of your own pieces in a row while preventing your opponent from getting five in a row to win. For this project I created the AI
for player 1 and player 2.
Features
My Role in This Project
This project was an individual project and the basic engine for the game was provided by our professor. The specific parts of the project that I worked on are as follows:
- Game Tree
- Move Generator
- Evaluation Function
- Transposition Tables
Programming Challenges
The biggest challenge for this project was getting the tree to go deep enough while still maintaining a move time of under 10 seconds so that I could win the tournament.
Code Sample
The following link contains a zip file with some of the important code used in this project:
Game Download
Download the game files here:
Depending on your version of the DirectX runtimes you may need to install the newest version to run the game. You can install the newest version
by going to the following website
|