This Tetris game is developed using Python and The Pygame Library, offering a classic gaming experience with modern coding practices. The game features the traditional Tetris gameplay, including 7 different tetrominoes, with additional features such as pause, score tracking, line clearing, level progression, collision detection, and background music to enhance the playing experience.
- 7 Tetrominoes (Minos): Includes all classic Tetris blocks.
- Game Controls: Easy-to-use keyboard controls for moving, rotating, and dropping tetrominoes.
- Line Clearing: Complete lines to clear them from the board and earn points.
- Levels: The game speed increases as you progress, offering a challenging experience.
- Score System: Earn points by clearing lines and advancing through levels.
- Pause/Resume: Players can pause the game at any moment and resume where they left off.
- Collision Detection: Ensures a realistic gameplay experience.
- Music and Sound Effects: Enhances gameplay with engaging audio.
The objective is to place the tetrominoes to create complete lines, which will then be cleared from the board. The game ends when the Tetris playfield is filled.
- A / Left Arrow : Move block Left
- D / Right Arrow : Move block Right
- S / Down Arrow : Move block Down
- W / Up Arrow : Rotate the block
- Space : Pause/Resume Game
- Clone the repository:
git clone https://github.com/djoezeke/tetrix.git
- Navigate to the cloned directory:
cd tetrix
- Run the game:
python -m tetrix
This project is licensed under the MIT License.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
For any questions or inquiries, feel free to open an issue.