A simple implementation of the classic Tetris game in Python using pygame.
- Use the arrow keys to move the falling blocks.
- Press Up arrow key to rotate the blocks.
- Press Spacebar to instantly drop the block to the bottom.
- The game ends when blocks stack up to the top.
- Install Python (3.6 or later) from python.org.
- Install pygame using pip: pip install pygame
- Run the game: python tetris.py
Feel free to modify colors, mechanics, or add new features to the game.