Blame


1 cc9bbf61 2020-04-01 op a text adventure
2 cc9bbf61 2020-04-01 op =================
3 cc9bbf61 2020-04-01 op
4 cc9bbf61 2020-04-01 op "a text adventure" is a text adventure based on the (unfortunately)
5 cc9bbf61 2020-04-01 op unfinished tutorial:
6 cc9bbf61 2020-04-01 op http://home.hccnet.nl/r.helderman/adventures/htpataic01.html
7 cc9bbf61 2020-04-01 op
8 cc9bbf61 2020-04-01 op The code is more or less the same that you'll find on the tutorial,
9 cc9bbf61 2020-04-01 op except for the stile and some minor difference in the structure.
10 cc9bbf61 2020-04-01 op
11 cc9bbf61 2020-04-01 op
12 cc9bbf61 2020-04-01 op building
13 cc9bbf61 2020-04-01 op --------
14 cc9bbf61 2020-04-01 op
15 cc9bbf61 2020-04-01 op make
16 cc9bbf61 2020-04-01 op
17 cc9bbf61 2020-04-01 op It requires awk(1), a C compiler and the GNU readline library.
18 cc9bbf61 2020-04-01 op
19 cc9bbf61 2020-04-01 op It builds on OpenBSD without external packages installed btw.
20 cc9bbf61 2020-04-01 op
21 cc9bbf61 2020-04-01 op
22 cc9bbf61 2020-04-01 op grammar
23 cc9bbf61 2020-04-01 op -------
24 cc9bbf61 2020-04-01 op
25 cc9bbf61 2020-04-01 op While you can look for the grammar in `parseexec.c:/^parseexec`, I
26 cc9bbf61 2020-04-01 op would ask you not to do so: you may read spoilers.
27 cc9bbf61 2020-04-01 op
28 cc9bbf61 2020-04-01 op Instead, try to express what you want to accomplish in plain english,
29 cc9bbf61 2020-04-01 op it should work. (note: no punctuation or conjunctions are supported
30 cc9bbf61 2020-04-01 op as of now)
31 cc9bbf61 2020-04-01 op
32 cc9bbf61 2020-04-01 op Some examples
33 cc9bbf61 2020-04-01 op
34 cc9bbf61 2020-04-01 op > quit
35 cc9bbf61 2020-04-01 op
36 cc9bbf61 2020-04-01 op > look around
37 cc9bbf61 2020-04-01 op
38 cc9bbf61 2020-04-01 op > look guard
39 cc9bbf61 2020-04-01 op
40 cc9bbf61 2020-04-01 op > go to east
41 cc9bbf61 2020-04-01 op
42 cc9bbf61 2020-04-01 op > pick up the coin
43 cc9bbf61 2020-04-01 op
44 cc9bbf61 2020-04-01 op > ...