A Tetris implementation that "fits on a business card"
Dimensions: 20 lines x 80 characters
- No encoding
- Only standard library and curses allowed
git clone https://github.com/nickmpaz/tiny-tetris && cd tiny-tetris && python3 tiny-tetris.py
Note: If you are using Windows, you most likely need to install windows-curses
for compatibility:
pip install windows-curses
- up: rotate
- left: move left
- right: move right
- down: move down
- ctrl+c: quit
Inspired by TinySki https://github.com/KilledByAPixel/TinySki