descriptionnone
repository URLhttps://github.com/troglobit/tetris.git
ownergospodin@420blaze.it
last changeSun, 4 Sep 2022 11:17:17 +0000 (4 13:17 +0200)
last refreshSat, 27 Apr 2024 05:43:31 +0000 (27 07:43 +0200)
content tags
add:
README.md

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.

shortlog
2022-09-04 Joachim WibergMinor refactor to simplify signal handlermaster
2022-09-04 Joachim WibergFix return type of sig_init()
2022-09-04 Joachim WibergFix shadowing of global variables shape and color
2022-09-04 Joachim WibergDrop extra ;
2022-09-04 Joachim WibergReplace non-standard escape character \e with \033
2022-09-04 Joachim WibergStaticify
2022-09-04 Joachim WibergUnused local variable
2022-09-04 Joachim WibergDrop unused local variables
2021-12-26 Joachim WibergUpdate README and bump version for v1.4.0 release1.4.0
2021-12-26 Joachim WibergUpdate screenshot, now with technicolor
2021-12-26 Joachim WibergUse grey border, ---- tetramino is white
2021-12-26 Joachim WibergFix glitchy preview
2021-12-26 Joachim WibergShow highscore only if file exists
2021-12-26 Joachim WibergAdd colors to tetraminos
2021-12-26 Joachim WibergSwitch to tar.gz archives from bzip2
2021-12-26 Joachim WibergDrop conio.h and tetris.h
...
tags
2 years ago 1.4.0
2 years ago 1.3.0
2 years ago 1.3.0-beta8
2 years ago 1.3.0-beta7
2 years ago 1.3.0-beta6
2 years ago 1.3.0-beta5
2 years ago 1.3.0-beta4
2 years ago 1.3.0-beta3
2 years ago 1.3.0-beta2
7 years ago 1.3.0-beta1
11 years ago 1.2.1
13 years ago 1.2.0
14 years ago 1.1.0
14 years ago -
14 years ago 1.0.1 Minor bugfix release.
14 years ago 1.0.0 First release of unobfuscated Micro...
heads
19 months ago master
forks
Cached version (3770s old)
tetris/extra.git Troglobit's micro tetris with opinionated... gospodin@420blaze.it 10 months ago