diff --git a/2004/arachnid/Makefile b/2004/arachnid/Makefile index 28dafe602..8dda71e51 100644 --- a/2004/arachnid/Makefile +++ b/2004/arachnid/Makefile @@ -114,8 +114,8 @@ OBJ= ${PROG}.o DATA= arachnid.txt TARGET= ${PROG} # -ALT_OBJ= -ALT_TARGET= +ALT_OBJ= ${PROG}.alt.o +ALT_TARGET= ${PROG}.alt ################# @@ -137,6 +137,8 @@ ${PROG}: ${PROG}.c alt: data ${ALT_TARGET} @${TRUE} +${PROG}.alt: ${PROG}.alt.c + ${CC} ${CFLAGS} $< -o $@ ${LIBS} # data files # data: ${DATA} diff --git a/2004/arachnid/README.md b/2004/arachnid/README.md index 29412b7bf..80e224522 100644 --- a/2004/arachnid/README.md +++ b/2004/arachnid/README.md @@ -28,15 +28,32 @@ and then try: ./arachnid arachnid.c ``` +Navigation is through the use of the `wasd` inverted-T formation on +QWERTY keyboards. Rogue players, vi users, and Dvorak typists are +invited to get lost (or use the alt version)! + +### Alternate code + +[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) added an alternate +version which allows those like himself used to `h`, `j`, `k` and `l` movement +keys to not get lost. Non rogue players, vi users and Dvorak typists are invited +to get lost (or use the original version)! To use: + +```sh +make alt +``` + +Use `arachnid.alt` as you would `arachnid` above. + +Thank you Cody! + + ## Judges' remarks: The fun part comes when you realize that the maze scrolls. The overall visual effect is quite pleasing (at least on some displays), and, well, it's a lot of fun. -Navigation is through the use of the "wasd" inverted-T formation on -QWERTY keyboards. Rogue players, vi users, and Dvorak typists are -invited to get lost! ## Author's remarks: