Go to file
gospodin fa502c4f2e implemented changeble start speed 2023-07-23 20:59:51 +03:00
.github/workflows Bump release for v1.3.0-beta8 2021-06-30 11:07:14 +02:00
.gitignore .github: Bob the Builder & Container Claus 2021-06-29 16:55:28 +02:00
AUTHORS Update maintainer surname and copyright along with it 2021-06-29 21:02:56 +02:00
Dockerfile Dockerfile for running Micro Tetris in an Alpine Linux container 2017-04-20 19:14:37 +02:00
LICENSE Drop license trailer, it's still available in the GIT history 2021-06-29 21:03:15 +02:00
Makefile make unused optional 2023-03-16 17:38:38 +03:00
README.md Update README and bump version for v1.4.0 release 2021-12-26 16:48:25 +01:00
TODO Update TODO, AUTHORS and also README with points on keybindings. 2010-08-01 23:10:23 +02:00
micro-tetris-color.png Update screenshot, now with technicolor 2021-12-26 16:16:35 +01:00
micro-tetris.png Add missing keys and preview to screenshot 2021-06-30 11:58:24 +02:00
tetris.c implemented changeble start speed 2023-07-23 20:59:51 +03:00


Micro Tetris in Action

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.