This is a small and simple project which i used to work on creating a minimax algorithm. In its current state, the algorithm is finished. Future updates will try to:

1. Add heuristics instead of just checking for wins
2. Introduce alpha-beta pruning

Other updates not concerning the AI will be:

1. Coins will fall down into place, instead of appearing
2. You can set if you want to play with 2 humans, 2 computers or an AI and a human.
3. You can select different AI's

Lots of work left to do :-)

I hope this can help somebody who is also struggling on creating a simple AI.

Project Activity

See All Activity >

Categories

Board Games

Follow Connect Four

Connect Four Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Connect Four!

Additional Project Details

Operating Systems

Windows

Intended Audience

Developers

Programming Language

C#

Related Categories

C# Board Games

Registered

2012-05-28