A feature-rich Tetris implementation in Python using Pygame.
- Modern GUI with smooth animations
- Score system and levels
- Ghost piece preview
- Next piece preview
- Hold piece functionality
- Particle effects for line clears
- Background music and sound effects
- High score system
- Left/Right Arrow: Move piece
- Up Arrow: Rotate piece clockwise
- Z: Rotate piece counter-clockwise
- Down Arrow: Soft drop
- Space: Hard drop
- C: Hold piece
- P: Pause game
- ESC: Quit game
- Install Python 3.8+
- Install dependencies:
pip install -r requirements.txt
- Run the game:
python tetris.py