Skip to content
Go to file

Micro Tetris™

ASCII Image of Micro Tetris

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

Issue tracker and GIT repository available at GitHub:

Docker Image

The GIT repository has a Dockerfile for building a Docker image. Simply check out the GIT sources and:

cd tetris/
docker build -t troglobit:tetris .
docker run -ti troglobit:tetris

These instructions assume you already have installed.

Origin & References

The game is based on a 1989 International Obfuscated C Code Contest (IOCCC) entry made by John Tromp. See John's home page for the source code

This human-readable "clone" is maintained by Joachim Nilsson.

You can’t perform that action at this time.