This is a simple Tetris game implemented in Python using the Pygame library. This project is intended for educational purposes and to help me learn more about game development and Python programming.
I would like to acknowledge that the code for this project is not entirely my own. I have used code and resources from various sources to help me understand and implement the game.
- Basic Tetris gameplay
- Tetromino shapes and colors
- Line clearing
- Game over detection
- Python 3.x
- Pygame library
- Clone the repository:
git clone https://github.com/yourusername/tetris.git
- Navigate to the project directory:
cd tetris
- Install the required dependencies:
pip install pygame
Run the game using the following command:
python tetris.py