+ All Categories
Home > Documents > Dungeon.pptx

Dungeon.pptx

Date post: 17-Jan-2016
Category:
Upload: jjjjj
View: 212 times
Download: 0 times
Share this document with a friend
Popular Tags:
3
Dungeon Programmed by Peyton McGill
Transcript
Page 1: Dungeon.pptx

DungeonProgrammed by Peyton McGill

Page 2: Dungeon.pptx

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

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.