
About
Blocks is a Tetris clone that runs entirely in a text terminal, written in Python using the 'blessed' library for terminal drawing and keyboard input. It's tested on both Windows and Linux and is under active development.
How it differs from the original
Unlike a graphical Tetris, it renders entirely as text/ASCII in a terminal window via the blessed library.
Getting started
Install the blessed dependency with pip, then run the included Python script to start the game; move pieces with the arrow keys, rotate with up, hard-drop with space, and quit with Q.
Additional notes
- Detail
- The repository also bundles an implementation of the learntris test suite, used to check the game against a reference Tetris test harness.