Grab a coffee!

Connect 4 with AI

Using Min-Max Algorithm and PyGame Module
Min-Max Algorithm | Python | PyGame

It was my first experience with implementing AI on a board game. Initially, a simple Connect-4 game was made for 2 players using the PyGame module in Python. Later on, used the min-max algorithm in order to automate the game and making it more exciting.

The most interesting thing? AI will always be one step ahead of you!

MORE OF MY WORK

View All