This commit does anonymous, arachnid and hibachi. Along with an earlier commit the next one I think to work on is gavare.
103 lines
2.3 KiB
Markdown
103 lines
2.3 KiB
Markdown
## To build:
|
|
|
|
``` <!---sh-->
|
|
make
|
|
```
|
|
|
|
There is an alternate version for rogue players, vi(m) users and Dvorak typist
|
|
(i.e. those who need `hljk` for moving left, right, down and up). See
|
|
[Alternate code](#alternate-code) below.
|
|
|
|
|
|
## To use:
|
|
|
|
``` <!---sh-->
|
|
./arachnid [mazefile]
|
|
```
|
|
|
|
|
|
## Try:
|
|
|
|
``` <!---sh-->
|
|
./arachnid arachnid.txt
|
|
```
|
|
|
|
and then try:
|
|
|
|
``` <!---sh-->
|
|
./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:
|
|
|
|
If you don't like the `wasd` movement keys you can try the vi(m) movement keys
|
|
instead.
|
|
|
|
|
|
### Alternate build:
|
|
|
|
``` <!---sh-->
|
|
make alt
|
|
```
|
|
|
|
|
|
### Alternate use:
|
|
|
|
Use `arachnid.alt` as you would `arachnid` above.
|
|
|
|
|
|
## 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.
|
|
|
|
|
|
## Author's remarks:
|
|
|
|
This program accepts ASCII formatted mazes as input, and renders
|
|
them on screen for the user to explore, complete with Line Of Sight
|
|
\- you cannot see parts of the maze your avatar (the `@`) could not
|
|
have seen.
|
|
|
|
The maze files will be interpreted with spaces `' '` as gaps, tilde
|
|
`~` symbols (if any) as exits (which get represented as a
|
|
[NetHack](https://www.nethack.org) style `<` once loaded), and any other
|
|
characters as walls.
|
|
|
|
Feed the program its own source for a default maze. Running it with no command
|
|
line parameters will do this. In a nice symmetry, the character constant `~`
|
|
that recognises exits to input mazes itself forms the exit to the default maze.
|
|
Another maze, [arachnid.txt](arachnid.txt) has also been provided. This maze is
|
|
255x255, about the largest maze supported, for the particularly insane maze
|
|
explorers out there.
|
|
|
|
|
|
### Usage
|
|
|
|
``` <!---sh-->
|
|
./arachnid [mazefile]
|
|
```
|
|
|
|
You can explore the maze using the `w`,`a`,`s`, and `d` keys.
|
|
|
|
|
|
<!--
|
|
|
|
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
|
|
|
You are free to share and adapt this file under the terms of this license:
|
|
|
|
Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
|
|
|
|
For more information, see:
|
|
|
|
https://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
-->
|