Sky

Artificial Intelligence

Artificially Intelligent Bot

2021

One of the projects for my Bachelor's degree was to create an artificially intelligent agent that could play a human opponent at Connect-4

The algorithm behind the AI is the well-known MinMax decision algorithm for adversarial searches.

I developed and created the entire game with Python in the Spyder 5.3 coding IDE. It is played exactly the same as the traditional game, with the spin that the AI is playing you. It searches 6 moves ahead of the current game to determine if it can win or lose and will then decide what route it wants to take.