summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-12-17 11:04:20 -0500
committerSteph Enders <smenders@gmail.com>2022-12-17 11:04:20 -0500
commit8e101f8bfd995321ac08a16fea9a171b549a0ae4 (patch)
tree61c25c357c24381e653f2dd104463628fe2875e7 /README.md
parentf710faa0cc8862a8367dbbf89bf8c3cd44790b5d (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.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3c17630..8158279 100644
--- a/README.md
+++ b/README.md
@@ -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.