From 8e101f8bfd995321ac08a16fea9a171b549a0ae4 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sat, 17 Dec 2022 11:04:20 -0500 Subject: 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 --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3-54-g00ecf