Skip to content
A Python Tetris implementation that "fits on a business card" (20 lines x 80 characters)
Python
Branch: master
Clone or download
nickmpaz Merge pull request #5 from crinny/master
Windows compatibility note added
Latest commit ea82822 Aug 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
tiny-tetris.py

README.md

Tiny Tetris

About

A Tetris implementation that "fits on a business card"

Dimensions: 20 lines x 80 characters

Game in progress

Rules and Limitations

  • No encoding
  • Only standard library and curses allowed

Play It!

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

Controls

  • up: rotate
  • left: move left
  • right: move right
  • down: move down
  • ctrl+c: quit

Acknowledgements

Inspired by TinySki https://github.com/KilledByAPixel/TinySki

You can’t perform that action at this time.