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

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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