diff options
author | Steph Enders <smenders@gmail.com> | 2022-12-17 11:04:20 -0500 |
---|---|---|
committer | Steph Enders <smenders@gmail.com> | 2022-12-17 11:04:20 -0500 |
commit | 8e101f8bfd995321ac08a16fea9a171b549a0ae4 (patch) | |
tree | 61c25c357c24381e653f2dd104463628fe2875e7 /README.md | |
parent | f710faa0cc8862a8367dbbf89bf8c3cd44790b5d (diff) |
Support doors with keys
Add initial support for doors and keys via pre-defined mappings:
k || d
------
1 -> a
2 -> b
3 -> c
4 -> d
Any key can open any door of its mapping, but is spent once used.
May require additional testing
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -36,6 +36,23 @@ The map format is just a text file with the following key tokens: | t | Treasure (0 or more) | | 0 | Empty space | +Doors and Keys: + +Doors and keys are single use and map to specific doors. +Each key (1-4) maps to a door type (a-d) + +| Token | Description | +|:------|:-------------------------| +| 1 | Key 1, for Door a | +| 2 | Key 2, for Door b | +| 3 | Key 3, for Door c | +| 4 | Key 4, for Door d | +| a | Door a, opened by key 1 | +| a | Door b, opened by key 2 | +| a | Door c, opened by key 3 | +| d | Door d, opened by key 4 | + + #### Tips Space your map out using whitespace between every token (`w w w w` instead of `wwww`) for better readability. |