IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1993/jonth - Most Obfuscated X Program

← ejb ↑ 1993 ↑ leo → C code Makefile Inventory





Author:

To build:

NOTE: this entry requires X11/Xlib.h header file and the X11 library to compile. macOS users running Mountain Lion and later will need to download and install XQuartz in order to compile and run this entry.

make all

To use:

./jonth         # must be run on an X11 server

Judges’ remarks:

Use h and l to shift objects left or right. Use k to rotate and press SPACE to drop.

This program’s output may be even more obfuscated when played on inverse video. :-)

Author’s remarks:

This is jonth (jon's t(h)etris) for the X Window System.

This program is also an example of data abstraction. The X array is after initialization hidden by the well defined macros t, u and F.

This program is highly portable as it runs on a “Notebook” size SPARC. This program will not work on machines where sizeof(int)!=sizeof(void *).

Inventory for 1993/jonth

Jump to top

Primary files

Secondary files