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