Merge pull request #88 from xexyl/readmes

README.md and Makefile files from various years
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-03-18 23:07:17 -07:00
commit 94ece1f48d
11 files changed
+63 -47

No files matched your search

+3 -3
View File
@@ -10,17 +10,17 @@
make all make all
### To run ### To run:
./buzzard ./buzzard
## Judges' comments ## Judges' comments:
You will be A-mazed. You will be A-mazed.
You are invited to try to cheat, ... if you can figure out how! :-) You are invited to try to cheat, ... if you can figure out how! :-)
## Author's comments ## Author's comments:
### HOW TO PLAY: ### HOW TO PLAY:
+3 -1
View File
@@ -182,7 +182,9 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c ${PROG}: ${PROG}.c
@echo "NOTE: This entry might not compile when using modern compilers." @echo "NOTE: This will not compile when using modern compilers because"
@echo "it relies on a compiler bug which was fixed in gcc 2.3.3 (a very"
@echo "long time ago now)."
${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c ${RM} -f \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c ${CP} lmfjyh.c \"\;main\(\)\{puts\(\"Hello\ World!\"\)\;\}char\*C=\".c
${CC} ${CFLAGS} \ ${CC} ${CFLAGS} \
+4 -5
View File
@@ -9,7 +9,9 @@
make all make all
NOTE: This entry might not compile when using modern compilers. NOTE: This entry will not compile on modern systems because it
relies on a compiler bug which was fixed in gcc 2.3.3 (a very
long time ago now).
### To run ### To run
@@ -17,13 +19,10 @@
## Judges' comments ## Judges' comments
See the makefile for details. See the Makefile for details.
There's more than one way to get around disk quotas. :-) There's more than one way to get around disk quotas. :-)
This entry will not compile on modern systems because it
relies on a compiler bug which was fixed in gcc 2.3.3 (a very
long time ago now).
## Author's comments ## Author's comments
+6 -7
View File
@@ -10,7 +10,12 @@
make all make all
NOTE: This entry might not compile when using modern compilers. NOTE: we could not compile this entry under modern macOS but it will work
fine under linux. It likely fails to compile under macOS because its gcc is
actually just clang which is more strict about the type of the third
argument of main(). If you have gcc under macOS it might work just as well.
We did not test other systems.
### To run ### To run
@@ -36,12 +41,6 @@
It is a good thing that this program consists of only one It is a good thing that this program consists of only one
expression, otherwise it might become hard to understand. :-) expression, otherwise it might become hard to understand. :-)
NOTE: we could not compile this entry under modern macOS but it will work
fine under linux. It likely fails to compile under macOS because its gcc is
actually just clang which is more strict about the type of the third
argument of main(). If you have gcc under macOS it might work just as well.
We did not test other systems.
## Author's comments ## Author's comments
The program does no error checking - erroneous expressions will The program does no error checking - erroneous expressions will
+2
View File
@@ -182,6 +182,8 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c ${PROG}: ${PROG}.c
@echo "NOTE: this entry has different compiler errors based on compilation line."
@echo "The purpose is to find the right error message to win the game!"
-${CC} ${CFLAGS} $< -o $@ ${LIBS} -${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable # alternative executable
+5
View File
@@ -10,6 +10,11 @@
make all make all
NOTE: the purpose of this entry is to escape the dungeon via the compiler line
where you get messages as compiler errors. Depending on the compiler line you
will get different error messages and one compiler line will make you win the
game!
### To run ### To run
./westley ./westley
+21 -18
View File
@@ -13,25 +13,27 @@
NOTE: This entry uses non-standard args to main() that do not work with modern compilers. NOTE: This entry uses non-standard args to main() that do not work with modern compilers.
### To run ## To run:
./dalbec ./dalbec
## Judges' comments ## Try:
The output is mis-leading ... why does it also print 2047?
Also try:
./dalbec 3 ./dalbec 3
why does it output 121? Why does it output 121?
For a hint see:
http://www.utm.edu/research/primes/prove2.html#sprp ## Judges' comments:
and then try to understand the source! :-) The output is mis-leading ... why does it also print 2047?
For a hint see
[https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html](https://web.archive.org/web/20000510191341/https://www.utm.edu/research/primes/prove2.html).
... and then try to understand the source! :-)
We (the judges) recommend that you take the time needed to understand We (the judges) recommend that you take the time needed to understand
how this program works. The source is small enough to make the effort how this program works. The source is small enough to make the effort
@@ -52,20 +54,21 @@
On completion, the program produces a core file that may be used to On completion, the program produces a core file that may be used to
refine this estimate. (Or you could try typing "limit" if you're refine this estimate. (Or you could try typing "limit" if you're
running csh.) In rare cases the stack space may exceed 24*MAXINT running `csh`.) In rare cases the stack space may exceed `24*MAXINT`
bytes, in which case the program will produce an inaccurate estimate. bytes, in which case the program will produce an inaccurate estimate.
This program is obfuscated: This program is obfuscated:
(1) by the use of easily-confused variable names 1. by the use of easily-confused variable names
(2) by using the implicit !=0 in conditional expressions 2. by using the implicit !=0 in conditional expressions
(3) by substituting expressions such as !a for 0 where a!=0 3. by substituting expressions such as !a for 0 where a!=0 and !a for 1 where a==0
and !a for 1 where a==0
(4) by the fact that main() is a single expression and so beautifies poorly 4. by the fact that main() is a single expression and so beautifies poorly
(5) by the fact that main() is used 5. by the fact that main() is used
(a) to compute powers in modular arithmetic
(b) to recursively call itself in the main loop - to compute powers in modular arithmetic
- to recursively call itself in the main loop
+1 -1
View File
@@ -22,5 +22,5 @@
## Author's comments ## Author's comments
This program shows flying spheres. The program eats CPU on lesser This program shows flying spheres. The program eats CPU on lesser
equipt systems. The program will run until termination. Terminal equipped systems. The program will run until termination. Terminal
must be vt100 or better with 80 columns and 24 rows or more. must be vt100 or better with 80 columns and 24 rows or more.
+7 -5
View File
@@ -12,17 +12,19 @@
make all make all
### To run ### To run:
echo 'Huffman Decoding' | ./huffman echo 'Huffman Decoding' | ./huffman
## Judges' comments ## Try:
Try:
echo 'seeing or feeling is believing' | ./huffman echo 'seeing or feeling is believing' | ./huffman
echo 'CC OR NOT CC' | ./huffman | ./huffman echo 'CC OR NOT CC' | ./huffman | ./huffman
## Judges' comments:
If you are still confused and want to read a spoiler, check out If you are still confused and want to read a spoiler, check out
the source and it will be clear as mud! the source and it will be clear as mud!
@@ -34,7 +36,7 @@
This entry was very well received at the IOCCC BOF. This entry was very well received at the IOCCC BOF.
## Author's comments ## Author's comments:
This filter program is really not obfuscated code. It compiles cleanly This filter program is really not obfuscated code. It compiles cleanly
with an ANSI C compiler and comes with user documentation that even a with an ANSI C compiler and comes with user documentation that even a
+5 -4
View File
@@ -16,18 +16,19 @@
./jonth ./jonth
## Judges' comments ## Try:
Also try:
./jonth host1:0 host2:0 ./jonth host1:0 host2:0
## Judges' comments
For extra credit, figure out how you can cheat by taking over For extra credit, figure out how you can cheat by taking over
a square already occupied by an opponent. a square already occupied by an opponent.
## Author's comments ## Author's comments
This is mulituser tictactoe for X Windows. You may give one or two X This is multi-user tic-tac-toe for X Windows. You may give one or two X
displays as arguments to this game. displays as arguments to this game.
Known bugs: Known bugs:
+6 -3
View File
@@ -9,16 +9,19 @@
make all make all
### To run ### To run:
./rcm < rfc1951.gz ./rcm < rfc1951.gz
## Judges' comments ## Try:
And for more information try: For more information try:
./rcm < rfc1952.gz ./rcm < rfc1952.gz
## Judges' comments
For a good noop try: For a good noop try:
gzip -c < rcm.c | ./rcm gzip -c < rcm.c | ./rcm