Connect-4 is a very simple game to learn. It is played on a 8 X 8 board (actually should be 7 x 6 but in this project we changed it to 8 X 8) and, the goal is to get four consecutive cells either horizontally, vertically or diagonally. The first player to get four consecutive cells wins. It has been proven that there is an optimal strategy for this game i.e.
In this project, we worked on implementing a player that uses a minimax with alpha-beta pruning and a heuristic model using Java and Swing.

*please copy the pictures in the C drive or change the path in the code

Project Activity

See All Activity >

Follow Connect 4 AI

Connect 4 AI Web Site

Other Useful Business Software
Powerful Website Security | Continuous Web Threat Platform Icon
Powerful Website Security | Continuous Web Threat Platform

Continuously detect, prioritize, and validate web threats to quickly mitigate security, privacy, and compliance risks.

Reflectiz is a comprehensive web exposure management platform that helps organizations proactively identify, monitor, and mitigate security, privacy, and compliance risks across their online environments. Designed to address the growing complexity of modern websites, Reflectiz provides full visibility and control over first, third, and even fourth-party components, such as scripts, trackers, and open-source libraries that often evade traditional security tools.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Connect 4 AI!

Additional Project Details

Registered

2012-04-27