Created using Python 3.10.4
In this project root directory:
- [optional] Install and create virtual environment (venv)
- Install dependencies
pip install -r requirements.txt - Run the script
py tetris.py
- Create New Game: key
norN - Pause/Resume the game: key
porP - Move block left: left arrow key
(⬅) - Move block right: right arrow key
(➡) - Move block bottom: down arrow key
(⬇) - Rotate block: key
rorR
- Install dev dependencies
pip install -r requirements_dev.txt - Run
pyinstaller --onefile tetris.py - Copy
assetsdir todistdir
