A number of rules have been moved from entry `Makefile`s into the `1337.mk` include file to make it easier for these common rules to be updated or modified globally (by modifying the `1337.mk` include file). The entry level `Makefile`s are now similar in form to the /Makefile.example](https://github.com/ioccc-src/mkiocccentry/blob/master/Makefile.example) file from the other repo. The following make rules were moved into the `1337.mk` include file: - `make indent.c` - `make install` - `make diff_orig_prog` - `make diff_prog_orig` - `make diff_alt_prog` - `make diff_prog_alt` This simplifies the entry level `Makefile`s so that they mostly reflect the specifics of the particular entry. Mentioned in FAQ 4.2, that the make diff rules are in the `1337.mk` include file. Fixed invalid TAB character in `faq.md`. Removed `make clean` directives that removed `indent.c`. This file is now removed via `make indent_clean`, a clean rule that also removes `indent.c`. Removed `make clobber` directives that removed sandwich, This file is now removed via `make indent_clobber`, a clean rule that also removes `sandwich`. Added `make indent_clean` and `make indent_clobber` rules into the top level `Makefile` and the year level `YYYY/Makefile`. Performed `make quick_www` to accomplish the above and to test under macOS.
To build:
make
There is an alternate version with vi(m) key movements. See Alternate code below.
To use:
./ctk
Alternate code:
This alternate version adds to the movement keys l for right, h for left and
k for straight.
Alternate build:
make alt
Alternate use:
./ctk.alt
Judges' remarks:
No matter how careful you are, this guy eventually crashes. Most people can make at least one successful road trip without crashing.
This is, of course, another of the retro games.
Author's remarks:
This is a game based on an Apple
II Print Shop
Companion Easter egg named
'DRIVER', in which the goal is to drive as fast as you can down a long twisty
highway without running off the road. Use ,./, [ ], or bnm to go left,
straight, and right respectively. Use 1234 to switch gears. q quits. The
faster you go and the thinner the road is, the more points you get. Most of the
obfuscation is in the nonsensical if statements among other things. It works
best on the Linux console: you get engine sound (!) and the * Lock keyboard
lights tell you what gear you're in (none lit=4th). The q argument (no
leading -) will silence the sound. It won't work on a terminal smaller than
80x24, but it works fine with more (try it in an XTerm with the "Unreadable"
font and the window maximized vertically!).