ConnectN AI

Download Here

This project demonstrates AI for what is essentially a Connect 4 Game with some variations. I do not take credit for the game itself, my assessment was to create the AI for the player named “n5446325″. The AI i created uses a min-max algorithm with alpha-beta pruning.

The two main differences between connectN and a standard connect 4 (aka 4-in-a-row) are as follows:

  • The game is over when the board is full.
  • The winner has the highest number of connectN’s.