Add alt code for 2004/arachnid for h/j/k/l keys
Now vi users can more easily enjoy this entry without getting frustrated! Obviously that includes myself. Use j/k/l/h keys instead. There's some circular fun in the README.md about this based on what the judges' originally wrote (that made me laugh out loud because it's true - I did get lost quite easily though I did solve it ... eventually).
This commit is contained in:
1 parent
96f47b36f7
commit
969bb6a3a7
2 files changed
+24
-5
No files matched your search
@@ -114,8 +114,8 @@ OBJ= ${PROG}.o
|
|||||||
DATA= arachnid.txt
|
DATA= arachnid.txt
|
||||||
TARGET= ${PROG}
|
TARGET= ${PROG}
|
||||||
#
|
#
|
||||||
ALT_OBJ=
|
ALT_OBJ= ${PROG}.alt.o
|
||||||
ALT_TARGET=
|
ALT_TARGET= ${PROG}.alt
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@@ -137,6 +137,8 @@ ${PROG}: ${PROG}.c
|
|||||||
alt: data ${ALT_TARGET}
|
alt: data ${ALT_TARGET}
|
||||||
@${TRUE}
|
@${TRUE}
|
||||||
|
|
||||||
|
${PROG}.alt: ${PROG}.alt.c
|
||||||
|
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||||
# data files
|
# data files
|
||||||
#
|
#
|
||||||
data: ${DATA}
|
data: ${DATA}
|
||||||
|
|||||||
+20
-3
@@ -28,15 +28,32 @@ and then try:
|
|||||||
./arachnid arachnid.c
|
./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:
|
## Judges' remarks:
|
||||||
|
|
||||||
The fun part comes when you realize that the maze scrolls. The overall
|
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,
|
visual effect is quite pleasing (at least on some displays), and, well,
|
||||||
it's a lot of fun.
|
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:
|
## Author's remarks:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user