Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Trapped in The Dungeon
by
Ben Cooke
Played 1,552 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
The Starting Room is a room. "You wake up. You are in the Starting room. The room has no windows and only a single door. All the walls are grey. You can’t seem to remember a thing, not even your name. In front of you is a piece of paper explaining that to escape the dungeon you are trapped in and regain your memories, you must find the final room, where you will swallow magical potion, instantly regaining your memories and the exit. There is an open wooden door North of where you are. Type 'Go North', 'n', or 'go north' to go north." The wooden door is north of the Starting Room. The wooden door is an open door. North of the wooden door is the Eyeball room. The Eyeball room is a room. "You are now in the Eyeball Room. There is a desk with a Crystal Wand on it. On the east wall of the Eyeball Room is a blue painted wooden door that is closed. Type 'Go East', 'go east', or 'e' to go east." A desk is in the middle of the Eyeball room. The desk is fixed in place. The Crystal Wand is in the Eyeball room. The Crystal Wand is an object. There is a shelf in the room. The shelf is fixed in place. A jar is on the shelf. There is a green eyeball in the jar. The jar is fixed in place. East of the Eyeball room is the blue painted wooden door. The blue painted wooden door is a door. The blue painted wooden door is fixed in place. The blue painted wooden door is a closed door. East of the blue painted wooden door is the Hallway. The Hallway is a room. "You are in the Hallway. There is a shiny sword in the corner. There is a green painted wooden door north of the hallway, and a red painted wooden door south of the hallway. There is also a gold door east of the hallway." The Sword is in the Hallway. North of the Hallway is a green painted wooden door. The green painted wooden door is a closed locked door. The green painted wooden door can be unlocked by the Green Key. South of the hallway is the red painted wooden door. The red painted wooden door is a closed door. East of the Hallway is the Golden Door. The Golden Door is a closed locked door. The Golden Door can be unlocked by the Gold Key. The Gold Key unlocks the Golden Door. South of the red painted wooden door is the Knight's room. The Knight's room is a room. A table is in the Knight's room. The table is fixed in place. The Green Key is an object. The Green Key unlocks the green painted wooden door. The Green Key is on the table. An armor rack is in the Knight's room. The armor rack is fixed in place. A set of armor is on the armor rack. The set of armor is fixed in place. "You are now in the Knight's room. The walls are built of cobblestone, and a single set of armor sits on an armor rack. There is a knight in similar armor with short brown hair in the middle of the room." The Knight is a person in the Knight's room. "There is a knight in similar armor with short brown hair in the middle of the room. The Knight says; Good fellow, I don't suppose you can give me my shiny sword? I have lost it and can't remember where it is." Instead of giving the Sword to the Knight: say "The Knight accepts the sword and sheaths it in a scabbard at his hip. He says 'Thank you. Take this key as a gift of appreciation. The key is on the table in this room. It will unlock a door."; remove the Sword from play. ; award 50 points. North of the green painted wooden door is the Wizard's room. The Wizard's room is a room. Bookshelves are in the Wizard's room. Bookshelves are fixed in place. Spell books are on the Bookshelves. Spell books are fixed in place. In the Wizard's room is a long desk. The long desk is fixed in place.The Gold Key is an object. The Gold Key is on the long desk. In the Wizard's room is the Wizard. The Wizard is a person. "You are now in the Wizard's room. The walls are lined with shelves filled with spell books. Their is an old Wizard in a pink robe in the middle of the room, peering over a book at a desk. The Wizard says: Young sir/madam, could you please fetch me my Crystal Wand? I desperately need it for a spell. When you give me my wand, I'll tell you where the key to the last room is." Instead of giving the Crystal Wand to the Wizard: say "Thank you good sir/madam. As promised, here is the location of the key to unlock the golden door to last room. It is on my desk."; remove the Crystal Wand from play. ; award 50 points. East of the Golden Door is the Final room. The Final room is a room. A wooden stand is in the Final room. The wooden stand is fixed in place. A potion is on the wooden stand. The potion is edible. "You are in the final room. The wooden walls are bright orange. There is a wooden stand. On the wooden stand lays a potion. It is the final potion you need to drink to win the game." After drinking the potion: award 100 points ; say "You start to feel nauseous and you pass out. You open your eyes to see your computer screen. You fell asleep while playing a game. It was all just a dream" Every turn while in the Final room: if score is 200 begin; say "You have won the game because it's a win condition if you eat the potion."; end the game in victory; end if.