Merge pull request #1851 from xexyl/toledo22006-files
This commit is contained in:
6 files changed
+52
-26
No files matched your search
@@ -128,9 +128,11 @@ all: data ${TARGET}
|
|||||||
sandwich supernova deep_magic magic charon pluto
|
sandwich supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
|
@echo "=-=-=-=-="
|
||||||
@echo "NOTE: this entry has different compiler errors based on compilation line."
|
@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!"
|
@echo "The purpose is to find the right error message to win the game!"
|
||||||
@echo "NOTE: your terminal should be set to 80 columns, 8 character tabs, and wraparound."
|
@echo "NOTE: your terminal should be set to 80 columns, 8 character tabs, and wraparound."
|
||||||
|
@echo "=-=-=-=-="
|
||||||
-${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
-${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
|
|||||||
@@ -5,10 +5,13 @@ make all
|
|||||||
```
|
```
|
||||||
|
|
||||||
NOTE: the purpose of this entry is to escape the dungeon via the compiler line
|
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
|
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
|
will get different error messages and one compiler line will make you win the
|
||||||
game!
|
game!
|
||||||
|
|
||||||
|
NOTE: your terminal should be set to 80 columns, 8 character tabs, and
|
||||||
|
wraparound.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
@@ -25,9 +28,6 @@ cc -Describe -Door westley.c
|
|||||||
cc -Describe -Drain westley.c
|
cc -Describe -Drain westley.c
|
||||||
```
|
```
|
||||||
|
|
||||||
NOTE: your terminal should be set to 80 columns, 8 character tabs, and
|
|
||||||
wraparound.
|
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ For spoilers see the end of the notes from the author below.
|
|||||||
To use:
|
To use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./spoiler.sh
|
./try.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
cc -Describe -Door westley.c
|
|
||||||
cc -Describe -Drain westley.c
|
|
||||||
cc -Describe -Dwarf westley.c
|
|
||||||
cc -Describe -Debris westley.c # or -Dungeon
|
|
||||||
cc -Describe -Desk westley.c
|
|
||||||
cc -Describe -Dime westley.c
|
|
||||||
cc -Describe -Directory westley.c
|
|
||||||
cc -Dial -DUNgeon0614 westley.c
|
|
||||||
cc -Drink -Daiquiri westley.c
|
|
||||||
cc -Drop -Daiquiri westley.c
|
|
||||||
cc -Drop -Dwarf -Daiquiri westley.c # or -Drop -Down -Daiquiri
|
|
||||||
cc -Describe -Document westley.c
|
|
||||||
cc -Depress -Dotted -Dog westley.c
|
|
||||||
cc -Depress -Dalmatian westley.c # also accepts "Dalmation" [sic]
|
|
||||||
cc -Deposit -Dime westley.c
|
|
||||||
cc -Drop -Donut westley.c
|
|
||||||
cc -Drop -Donut -Down -Drain westley.c # or -Drop -Dwarf -Donut
|
|
||||||
Executable
+44
@@ -0,0 +1,44 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# try.sh - demonstrate IOCCC winner 1994/westley
|
||||||
|
#
|
||||||
|
|
||||||
|
# make sure CC is set so that one can control what compiler to use in an easy
|
||||||
|
# way.
|
||||||
|
if [[ -z "$CC" ]]; then
|
||||||
|
CC="cc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check for 80 columns
|
||||||
|
COLS="$(tput cols)"
|
||||||
|
if [[ "$COLS" != 80 ]]; then
|
||||||
|
echo "WARNING: without a terminal with 80 columns, 8 character tabs and wraparound" 1>&2
|
||||||
|
echo "this will not look that great. We have detected that you do not have your terminal" 1>&2
|
||||||
|
echo -n "at 80 columns. Do you still wish to continue (Y/N)? "
|
||||||
|
read -r -p ""
|
||||||
|
if [[ "$REPLY" != "y" && "$REPLY" != "Y" ]]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"${CC}" -Describe -Door westley.c
|
||||||
|
"${CC}" -Describe -Drain westley.c
|
||||||
|
"${CC}" -Describe -Dwarf westley.c
|
||||||
|
"${CC}" -Describe -Debris westley.c # or -Dungeon
|
||||||
|
"${CC}" -Describe -Desk westley.c
|
||||||
|
"${CC}" -Describe -Dime westley.c
|
||||||
|
"${CC}" -Describe -Directory westley.c
|
||||||
|
"${CC}" -Dial -DUNgeon0614 westley.c
|
||||||
|
"${CC}" -Drink -Daiquiri westley.c
|
||||||
|
"${CC}" -Drop -Daiquiri westley.c
|
||||||
|
"${CC}" -Drop -Dwarf -Daiquiri westley.c # or -Drop -Down -Daiquiri
|
||||||
|
"${CC}" -Describe -Document westley.c
|
||||||
|
"${CC}" -Depress -Dotted -Dog westley.c
|
||||||
|
"${CC}" -Depress -Dalmatian westley.c # also accepts "Dalmation" [sic]
|
||||||
|
"${CC}" -Deposit -Dime westley.c
|
||||||
|
"${CC}" -Drop -Donut westley.c
|
||||||
|
"${CC}" -Drop -Donut -Down -Drain westley.c # or -Drop -Dwarf -Donut
|
||||||
@@ -15,7 +15,6 @@ The current status of this entry is:
|
|||||||
|
|
||||||
```
|
```
|
||||||
STATUS: INABIAF - please **DO NOT** fix
|
STATUS: INABIAF - please **DO NOT** fix
|
||||||
STATUS: missing file - please provide it
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For more detailed information see [2006 toledo2 in bugs.md](/bugs.md#2006-toledo2).
|
For more detailed information see [2006 toledo2 in bugs.md](/bugs.md#2006-toledo2).
|
||||||
|
|||||||
+1
-1
@@ -1853,7 +1853,7 @@ number but rather a newline.
|
|||||||
## <a name="1994_westley"></a>[1994/westley](/1994/westley/westley.c) ([README.md](/1994/westley/README.md]))
|
## <a name="1994_westley"></a>[1994/westley](/1994/westley/westley.c) ([README.md](/1994/westley/README.md]))
|
||||||
|
|
||||||
[Cody](#cody) converted the spoiler compiler options (provided by the author) to be
|
[Cody](#cody) converted the spoiler compiler options (provided by the author) to be
|
||||||
compiler commands and added a script [spoiler.sh](/1994/westley/spoiler.sh) to
|
compiler commands and added a script [try.sh](/1994/westley/try.sh) to
|
||||||
automate the spoiler commands to make it easier to see the game in action from
|
automate the spoiler commands to make it easier to see the game in action from
|
||||||
start to finish.
|
start to finish.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user