Dungeon.pptx
Transcript of Dungeon.pptx
![Page 1: Dungeon.pptx](https://reader035.fdocuments.us/reader035/viewer/2022070412/55cf9064550346703ba57c6d/html5/thumbnails/1.jpg)
DungeonProgrammed by Peyton McGill
![Page 2: Dungeon.pptx](https://reader035.fdocuments.us/reader035/viewer/2022070412/55cf9064550346703ba57c6d/html5/thumbnails/2.jpg)
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
![Page 3: Dungeon.pptx](https://reader035.fdocuments.us/reader035/viewer/2022070412/55cf9064550346703ba57c6d/html5/thumbnails/3.jpg)
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.