tetris

Micro Tetris™, based on the 1989 IOCCC Obfuscated Tetris by John Tromp

OTHER License

Stars
126
Committers
4

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

Pre-built Docker images are available from ghcr.io as of the v1.4.0 release. Previous releases available on https://hub.dockercom. The GIT repository has a Dockerfile for building your own image from the source tree:

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

These instructions assume you already have docker.io 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 http://tromp.github.io/tetris.html

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

Package Rankings
Top 10.45% on Alpine-v3.13
Top 11.9% on Alpine-v3.10
Top 11.15% on Alpine-v3.14
Top 10.28% on Alpine-v3.8
Top 12.66% on Alpine-v3.15
Top 10.35% on Alpine-v3.11
Top 8.56% on Alpine-v3.5
Top 10.0% on Alpine-v3.9
Top 10.21% on Alpine-v3.12
Top 8.44% on Alpine-v3.4
Top 8.64% on Alpine-v3.3
Top 9.45% on Alpine-v3.7
Top 13.62% on Alpine-v3.16
Top 9.69% on Alpine-v3.6
Top 13.12% on Alpine-edge
Top 8.98% on Alpine-v3.18
Top 14.91% on Alpine-v3.17