Renamed the example to remove "tutorial" from the title.
[vvhitespace] / examples / wump / wump_conf.pvvs
CommitLineData
2da74194
AT
1#ifndef WUMP_CONF
2#define WUMP_CONF
3
4@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
5@ (c) 2019 Aaron Taylor <ataylor at subgeniuskitty dot com>
6@ See LICENSE.txt file for copyright and license details.
7@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
8
9@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
10@ All user configurable options are contained in this file.
11@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
12
13@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14@ Name:
15@ set_config_values
16@ Description:
17@ Place user-configurable values for Hunt the Wumpus on the heap.
18@ The program assumes the values are sane. (e.g. #pits < #rooms, etc)
19@ Call Stack:
20@ <empty>
21@ Return Stack:
22@ <empty>
23@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
24#include <heap.pvvs>
25NSSVTSSSSSSTN | MARK: 10000001 (set_config_values)
26
27@ Number of arrows
28SSSTSTN | PUSH +5
29
30@ Maximum arrow travel distance
31SSSTSTN | PUSH +5
32
33@ Maximum links per room (must be >2)
34SSSTTN | PUSH +3
35
36@ Number of bats in cave
37SSSTSN | PUSH +2
38
39@ Number of pits in cave
40SSSTSN | PUSH +2
41
42@ Number of rooms in cave
43SSSTSTSSN | PUSH +20
44
45@ Push config values to heap and return.
46SSSTSSSSSSSSSSSSN | PUSH 0x1000 (GAME_DATA_BASE address)
47SSSTSTN | PUSH +5 (word count)
48NSTTTTTTN | JSR > 11111 (spew)
49NTN | RTS
50
51#endif