Troglobit

“Elegance is not a dispensable luxury” — Edsger Wybe Dijkstra

Micro Tetris™

Fork me on GitHub

Micro Tetris — one of the smallest Tetris implementations in the world! Utilizing only ANSI escape sequences to draw the board, no external library dependencys other than a standard C-library, like uClibc or musl libc. Hence, it is very suitable for small embedded devices in need of an easter egg ;-)

The game is based on a 1989 International Obfuscated C Code Contest (IOCCC) entry made by John Tromp.

Issue tracker and GIT repository available at GitHub:

See also the Free(code) page.

j    Left
k    Rotate
l    Right
SPC  Drop
p    Pause
q    Quit