A simple Tetris implementation written in Python using Pygame
- Windows: https://www.python.org/downloads/windows/
- Mac: https://www.python.org/downloads/macos/
- Debian-based distros:
sudo apt-get install python3 python3-pip
- Arch-based distros:
sudo pacman -S python python-pip
pip install pygame
python pytris.py
- ⬅ or A Move left
- ➡ or D Move right
- ⬆ or W Rotate
- ⬇ or S Drop
- SHIFT Hold/Swap held