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.
Categories
Board GamesFollow Connect Four
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Connect Four!