• Stars
    star
    183
  • Rank 208,956 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Python Tetris implementation that "fits on a business card" (20 lines x 80 characters)

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