diff --git a/adagm.py b/adagm.py index 5f675ab..a46a934 100644 --- a/adagm.py +++ b/adagm.py @@ -45,28 +45,41 @@ displayMsg() while True: reply = input() if "north" in reply : - print ("you passed through the door north of the bedroom. you find yourself in the kitchen. it's a spacious room, full of shiny metal and sharp sounds. the cult member on kitchen duty for breakfast turns around to look at you, startled.") + print ("""you passed through the door north of the bedroom. you find yourself in the kitchen. + it's a spacious room, full of shiny metal and sharp sounds. + the cult member on kitchen duty for breakfast turns around to look at you, startled.""") time.sleep(2) - print ("'cult member 20!' he exclaims. 'you are late for worship, what are you doing here? quick, hurry back'. he nods his head towards the door facing behind you.") + print ("""cult member 20!' he exclaims. + 'you are late for worship, what are you doing here? quick, hurry back'. + he nods his head towards the door facing behind you.""") elif "east" in reply: - print("through the east-facing door you find yourself in the dining hall, where someone has started to set the table. the sun is shining through the open window, reminding you once again of how late you are.") + print("""through the east-facing door you find yourself in the dining hall, where someone has started to set the table. + the sun is shining through the open window, reminding you once again of how late you are.""") time.sleep(2) - print("seeing the window to the east gives you a weird feeling. it faces a tall oak tree, whose branches seem so close you could grab them.") + print("""seeing the window to the east gives you a weird feeling. + it faces a tall oak tree, whose branches seem so close you could grab them.""") time.sleep(3) - print("would you like to go north-east through the winodw or back, to the leader?(please type either window or back)") + print("""would you like to go north-east through the winodw or back, to the leader? + (please type either window or back)""") elif "window" in reply: - print("your heart starts beating faster as you make your way to the open window.you climb the oak tree, your hands are slippery from sweat.") + print("""your heart starts beating faster as you make your way to the open window. + you climb the oak tree, your hands are slippery from sweat.""") time.sleep(2) - print("you reach for a lower branch, as your breath quickens from fear. your hand misses,suddendly you fall all the way to the ground.") + print("""you reach for a lower branch, as your breath quickens from fear. + your hand misses,suddendly you fall all the way to the ground.""") print(winreply()) break elif "back" in reply: print() elif "west" in reply: - print("you follow the faint sound of chanting throgh the west door,down a spiral staircase. you reach an enormous cave, where a man is sitting on a big chair, facing what looks like a sea of small figures dressed in white. The man looks up at you, he looks quite angry. you join the others in prayer. it's just another day.") + print("""you follow the faint sound of chanting throgh the west door,down a spiral staircase. + you reach an enormous cave, where a man is sitting on a big chair, facing what looks like a sea of small figures dressed in white. + The man looks up at you, he looks quite angry. you join the others in prayer. it's just another day.""") break elif "south" in reply : - print ("the south door leads to a cold room without windows. there is a cage in the middle of the room, but the door to it was left empty. with a shudder you think that a person could fit in that cage. you go back.") + print ("""the south door leads to a cold room without windows. + there is a cage in the middle of the room, but the door to it was left empty. + with a shudder you think that a person could fit in that cage. you go back.""") elif "here" in reply: print (here()) elif "get" in reply: @@ -76,6 +89,8 @@ while True: else: print (defreply()) -goodbye_message = "you asked for help. weak. you lost." +goodbye_message = """you asked for help. +weak. +you lost.""" print(goodbye_message)