A simple and fun implementation of the classic Tetris game using Python and Pygame.
Created by tbigmac for recreational purposes.
- Classic Tetris gameplay mechanics
- Score tracking with high score persistence
- Level progression system
- Piece hold functionality
- Next piece preview
- Clean and minimalist UI
Tetrisv2/
├── game.py # Main game implementation
├── highscore.json # Persistent storage for high scores
└── README.md # This file
- Python 3.x
- Pygame library
- Make sure you have Python 3.x installed on your system
- Install Pygame using pip:
pip install pygame
Navigate to the game directory and run:
python3 game.py- ← → : Move piece left/right
- ↑ : Rotate piece
- ↓ : Soft drop
- Space : Hard drop
- C : Hold piece
- P : Pause game
- R : Restart game
This project is created for recreational purposes only. Feel free to use and modify as you wish.
Created by tbigmac