Files
ioccc/1993/jonth
Landon Curt Noll bd63d57cb5 improve topbar for non-JavaScript and fix some internal links
For browsers that have JavaScript disabled, topbar puts up
a link that reads "Please Enable JavaScript" instead of the
so-called "hamburger menu" icon.

Fixed a number of internal links that were broken
when by commit `e7d69bc23270e8ad73d391d15d4c996ffbd33cc3 and
perhaps a few other earlier commits.

Ran `make www` to perform the above.
2024-04-24 22:55:35 -07:00
..
2023-03-18 06:43:24 -07:00
2023-07-06 21:49:38 -07:00
2024-03-13 00:38:46 -07:00

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 *).