"The Three Rooms Game" by Jason Sabada "You have no idea of what is going on but you figure you need to get out of here." The maximum score is 5. [The Description of the First Room] The First Room is a room. "This room is the first room. There is a door that leads someplace that you may want to go to after you find something in here." [The Description of the First Door] The First Door is a door. It is closed and unlocked. It is west of the First Room. Through it is the Second Room. The description of the First Door is "The First Door is [if First Door is closed]closed[otherwise]opened[end if]." Instead of going through the closed First Door: say "Maybe you should open it first." [Creating the Wallet] The Wallet is a container. The description of the Wallet is "It look[apostrophe]s like it[apostrophe]s yours.[if Letter is in wallet] There is a letter in the wallet.[otherwise]Nothing looks really important in it.[end if]". [Creating the Table] The Table is a container. Instead of taking the Table, say "It's far too heavy to lift." The Table contains the Wallet. [Creating the Letter] The Letter is a thing. [The Letter changes if players look at it after a certain score] The description of the Letter is "This appears to be a magic letter. The letter reads [if score is less than 3]'Get the Axe.' Maybe I should check it out a bit later.[otherwise]'Kill the Dragon.'[end if]". [Where these items are] The Letter is in the Wallet. The Table is in the First Room. [The Description of the Wallet and Table] The description of the Wallet is "It look[apostrophe]s like it[apostrophe]s yours.[if Letter is in wallet] There is a letter in the wallet.[otherwise]Nothing looks really important in it.[end if]". The description of the Table is "On the table is some clutter.[if Wallet is in table] There is your wallet too.[otherwise]Nothing looks really important on it.[end if]" [Awarding points for taking the Wallet and Letter] After taking the Wallet: award 1 point; say "One point has been added to your score.". After taking the Letter: award 1 point; say "One point has been added to your score.". [The Description of the Second Room] The Second Room is a room. "This room is the second room. There is a door that leads someplace that you may want to go to after you find something in here." [The Description of the Second Door] The Second Door is a door. It is closed and locked. It is west of the Second Room. Through it is the Final Room. The description of the Second Door is "The Second Door is [if Second Door is closed]closed[otherwise]opened[end if]." Instead of going through the closed Second Door: say "Maybe you should open it first." [Creating the Red Key and Axe] The Red Key unlocks the Second Door. The Axe is a thing. The description of the Axe is "The axe has a very sharp blade. You might need it to kill a Dragon or something." The Axe is in the Second Room. [Awarding points for the Axe and placing the key in the room] After taking the Axe: move the Red Key to the Second Room; award 1 point; say "One point has been added to your score.". [The Description of the Final Room] The Final Room is a room. "This room is the final room. There is a door that leads out of this place to your destiny." The Final Door is a door. It is closed and locked. It is west of the Final Room. Through it is the Epilogue. [The Description of the Final Door] The description of the Final Door is "The Final Door is [if Final Door is closed]closed[otherwise]opened[end if]." The Final Key unlocks the Final Door. Instead of going through the closed Final Door: say "Maybe you should open it first." [Creating the Dragon and killing it] The Dragon is a person. The Dragon is in the Final Room. A person can be awake or asleep. The Dragon is awake. The description of the Dragon is "The Dragon is awake. You might want to kill it.". Instead of attacking something awake: say "You killed the Dragon with the Axe and uncovered a key."; remove the Axe from play; award 1 point; remove the Dragon from play; move the Final Key to the Final Room. [Awarding points for killing the Dragon and taking the Final key] After taking the Final Key: award 1 point; say "One point has been added to your score.". [There are two possible endings] The Epilogue is a room. "[if score is greater than 4]After you enter the Final Door you wake up in a hospital bed. What happened? It turns out that you were in a car accident on your way home from the Renaissance Festival and the images in that wierd dream were memories from your fun time. Now you can go back to living life again.[otherwise]You enter the Final Door only to realize that you are back at where you began. Terrified, you run through the door again only to find that they just lead back to the same spot. It looks you are going to stay here... forever.[end if]". Ending is a scene. Ending begins when the player is in the Epilogue. When Ending begins: end the game saying "You [if score is greater than 4]win[otherwise]lose[end if]"