DungeonProgrammed by Peyton McGill
What is it? • Dungeon is a text based adventure inspired by games such as Zork.
• These Games lacked a gui and relied on the descriptions of writers to inform the player what was going on and how everything looked.
• In Dungeon the player will explore multiple rooms connected to one another.
• These rooms may contain a trap that will result in a failure state or the next clue to victory.
• Players will have to avoid these by piecing together clues given to them by the rooms descriptions and hints found in them.
• The Treasure within the dungeon will only be revealed once the user is able to solve a puzzle presented at the beginning of the program
How will it work?
• The room objects will contain: a description (string), a possible trap (Boolean), and a hint (string). • The Dungeon will be a 2D array or rooms • The user will be prompted to choose a pathway to another room. The
user will be changing the location of the array when answering this. • A while loop will be used to continue the players movement until a
failure or victory state is reached.