A collection of small, polished games built using Python (3.13+) and Pygame.
This repository is meant for learning, experimentation, and showcasing Python-based game development.
Each game is self-contained in its own folder and includes everything needed to run or study it.
Each game folder contains:
- Python source code (
.py) requirements.txt- A dedicated README explaining gameplay, controls, and features
This structure keeps each game isolated and easy to explore.
A modular Tower Defense game featuring 5 distinct tower classes, enemy waves with progressive difficulty, a robust upgrade system, and persistent save/load functionality.
Folder: tower-defense
A classic Tetris clone featuring a complete scoring system, progressive difficulty, next-piece preview, and authentic mechanics including line-clear animations.
Folder: tetris-game
Note: This version is adapted from ibrahimAtespare's Tetris with minor modifications to UI and mechanics.
A faithful recreation of the classic Chrome Dino Run game featuring smooth animations, accurate hitbox collision, and progressive speed increases.
Folder: chrome-dino
A modern version of the classic Snake game featuring screen wrapping, increasing speed, and special food mechanics.
Folder: snake-game
Includes snake_game.exe for Windows users in the snake-game/dist/ folder
The classic sliding tile puzzle game featuring smooth inputs, score tracking, high score persistence, and a clean visual style matching the original.
Folder: 2048-game
More games will be added over time.
It is strongly recommended to run these games inside a virtual environment (venv).
This keeps dependencies isolated and avoids conflicts with other Python projects.
From the project root:
python -m venv venvWindows (PowerShell / CMD):
venv\Scripts\activatemacOS:
source venv/bin/activate
With the virtual environment activated:
pip install -r requirements.txtOr install Pygame directly:
pip install pygamepython main.pyThis project is licensed under the MIT License.
See the LICENSE file for details.




