This is a digital version of the classic Connect Four game built entirely in Python using Pygame. You can play in Single Player mode against a smart AI with multiple difficulty levels, or challenge a friend in Multiplayer mode on the same device. The goal is simple: drop your colored pieces into the grid and be the first to connect four in a row horizontally, vertically, or diagonally. The game includes a clean interface, smooth visuals, and real-time feedback as you play.ay.
Screen.Recording.2025-10-14.at.3.20.47.PM.mov
run these commands:
pip install connectfourmd
python -m connectfourmd
Two game modes: Single Player & Multiplayerayer
Adjustable AI difficulty (Easy, Medium, Hard, Impossible)
Smooth and responsive gameplay
Built from scratch with NumPy and Pygame
How to Play:
Player 1 uses the red pieces
Player 2 (or AI) uses the yellow pieces
Click a column to drop your piece
First to connect 4 in any direction wins!
A connect four game made using python