connect four game using pygame
Project description
Connect Four (Python + Pygame)
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.
Features:
Two game modes: Single Player & Multiplayer
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!
ConnectfourMD
A connect four game made using python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file connectfourmd-1.0.0.tar.gz.
File metadata
- Download URL: connectfourmd-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b359a25851f5b534091ad71576dbbfb16b70b2ddd994b120a6f7fde0004d94e
|
|
| MD5 |
3dbb9c17fb18a5f391880b48df7b763a
|
|
| BLAKE2b-256 |
e181bca239cd69fb1921c625f84d7cc5850633482c520f32df154d6d60020913
|
File details
Details for the file connectfourmd-1.0.0-py3-none-any.whl.
File metadata
- Download URL: connectfourmd-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b762f33f18da7eccf55d0a922d62be868942bf803aa9b81a9f6865a4a195e971
|
|
| MD5 |
42d418c4cf98ae5f4b10af9b1b83b0d6
|
|
| BLAKE2b-256 |
231a3ba7531112b509d5388e31f5689c607a7778102168a6c5978bfb973b7e9b
|