From ba09e646c068518c4e748109bd73200af56d1b12 Mon Sep 17 00:00:00 2001 From: catsus Date: Mon, 10 Oct 2022 13:16:16 +0200 Subject: [PATCH] Initial commit --- Ideas | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Ideas diff --git a/Ideas b/Ideas new file mode 100644 index 0000000..f4cf826 --- /dev/null +++ b/Ideas @@ -0,0 +1,14 @@ +Ideas for adv +------------- + +- Use roomExits and movement to check for possible exits. If looking north (1000) and going forward (1000) we + check for 1000 in roomExits. Lets say that there is an exit there. Now, if looking south in the same room + and going backwards we have looking 0010 and direction 0010 but still 1000 in roomExits. + Solution is to shift roomExits two positions to the left for south. (and one for east, three for west). + We need to make sure that bits go back around (ie 0001 -> 1000 for one place to the left). + +- Room information should be stored in a file instead. That way we can call a roomLoad function with roomNumber + and stuff will be sucked into a struct containing appropriate values. + +- We also need a global variable of some kind to keep track of inventory and things the player have done/seen/ + manipulated. \ No newline at end of file