forked from LukeBrazil/fun_fair_danger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
room4.py
63 lines (53 loc) · 6.72 KB
/
room4.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
def room4():
room_4_entrance = input("""A large door appears guarded by a gnome. The gnome says; "Welcome to the final room. Before you enter, can you tell me the passcode from room 3?: """)
room4passcode = room_4_entrance
if room4passcode in ["Golden Tomato", "golden tomato", "GOLDEN TOMATO", "GoldenTomato", "goldentomato", "GOLDENTOMATO", "goldentomato"]:
print("""\n\n\n\nAfter a long and daunting journey through the Fun Fair Maze, you have entered the fourth and final room! \nYou notice this is a room of elegance.\nThe white marble tiled floors are accented with gold and the walls are covered with pristine art from around the world.\nIn the middle of the room, hangs a large diamond chandelier.\nAfter looking around for a few moments, you estimate that this room is about 20x20 feet.\n\nAll of a sudden, a large troll dressed in robes of royalty forms from the floor directly beneath the chandelier.\nThe troll is holding some sort of glowing angelic orb.\n\nThe troll exclaims; "I am Gorgish, King of the Fun Fair Maze!\nIn order to exit the maze, you must give me the three items you've acquired from the former rooms.\nThen you must answer my riddle that only a true Fun Fair Maze Champion would know.\n\nIf you guess correctly, my orb will wisk you away to safety.\nBeware, you will only get three guesses to answer my riddle correctly.\nIf you fail, you will be crushed into oblivion.""")
room1_unlocked = input("""\n\n\n\n Gorgish asks; "What is the passcode from room the wizard room?" """)
# The troll is asking if you for the correct code from room 1
room1answer = room1_unlocked
if room1answer in ["GOLDENWIZARD", "goldenwizard", "golden wizard", "GOLDEN WIZARD", "Golden Wizard"]:
print("\n\nExcellent. Your passcode is correct.")
#The troll is asking if you brought the correct item from room2
room2_unlocked = input("""\n\nGorgish asks; "What did you bring me from room the Axe Game?" """)
room2answer = room2_unlocked
if room2answer in ["Golden axe", "golden axe", "Golden Axe", "GOLDEN AXE", "GoldenAxe", 'goldenaxe', "a golden axe", "A Golden Axe"]:
print("\n\n\nExcellent. You hand it over to Gorgish. Trolls are so greedy.")
#The troll is asking if you brought the correct item from room3
room3_unlocked = input("""\n\nGorgish asks; "What did you bring me from the Tomoto Throwing Room?" """)
room3answer = room3_unlocked
if room3answer in ["Golden Tomato", "golden tomato", "GOLDEN TOMATO", "GoldenTomato", "goldentomato", "GOLDENTOMATO", "goldentomato"]:
print("\n\n\nEXCELLENT! You have moved onto the final challange: The Fun Fair Maze Riddle.")
#the troll is asking the final riddle
final_riddle_answer = input("""\n\nGorgish says; "Such amazing loot you have brought to me! Here is your Final Riddle:\n"I have numerous teeth\nAnd I'm kept on a chain\nI'm the singer's delight\nAnd the burglar's disdain... \nWhat is your answer?" """)
answer = final_riddle_answer
if answer in ["A key", "a key", "A KEY", "A Key"]:
print("""\n\n\n\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***\nKing Gorgish says; "You are correct! You may return to safety!" \nGorgish's orb glows bright white, the power of the orb pulls you into it. \nYou and the orb are now one! Beams of bright light radiate out of you.\nThe room of elegance slowly fades to dark.\nSuddenly you are transported to the entrance of the maze.\nYOU ARE CHAMPION OF THE FUN FAIR MAZE!\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***""")
else:
print("""\n\n\n\nGorgish says; "Wrong!" The elegant room shrinks drastically. The room now appears to be 10x10 in size.\nYou are worried if you answer wrong two more times, you'll be smashed into oblivion.""")
final_riddle_answer = input("\n\n\n\nGuess again. You only have two remaining guess: ")
answer = final_riddle_answer
if answer in ["A key", "a key", "A KEY", "A Key"]:
print("""\n\n\n\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***\nKing Gorgish says; "You are correct! You may return to safety!" \nGorgish's orb glows bright white, the power of the orb pulls you into it. \nYou and the orb are now one! Beams of bright light radiate out of you.\nThe elegant room slowly fades to dark.\nSuddenly you are transported to the entrance of the maze.\nYOU ARE CHAMPION OF THE FUN FAIR MAZE!\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***""")
else:
print("""\n\n\n\nGorgish says; "Wrong Again!" The elegant shrinks even more. The room now appears to be 5x5 in size.\nYou are worried that if you answer wrong one more time, you'll be smashed into oblivion.""")
final_riddle_answer = input("\n\n\n\nGuess again. You have one more guess: ")
answer = final_riddle_answer
if answer in ["A key", "a key", "A KEY", "A Key"]:
print("""\n\n\n\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***\nKing Gorgish says; "You are correct! You may return to safety!" \nGorgish's orb glows bright white, the power of the orb pulls you into it. \nYou and the orb are now one! Beams of bright light radiate out of you.\nThe elegant room slowly fades to dark.\nSuddenly you are transported to the entrance of the maze.\nYOU ARE CHAMPION OF THE FUN FAIR MAZE!\n*W*I*N*N*E*R****W*I*N*N*E*R****W*I*N*N*E*R***W*I*N*N*E*R***""")
else:
print("""\n\n\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nKing Gorgish exlaims; Peasant! You have answered incorrectly for a third time!"\nGorgish quickly uses his orb to transport himself out of the room and to safety.\nHe leaves you behind. The room shrinks to the size of an ant.\nYou have been smashed into oblivion.\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX""")
else:
print("Try again")
room4()
else:
print("Try Again")
room4()
else:
print("Try again")
room4()
room4()
# room_4_entrance = input("""A large door appears guarded by a gnome. The gnome says; "Welcome to the final room. Before you enter, can you tell me the passcode from room 3?: """)
# room4passcode = room_4_entrance
# if room4passcode in ["Golden Tomato", "golden tomato", "GOLDEN TOMATO", "GoldenTomato", "goldentomato", "GOLDENTOMATO", "goldentomato"]:
# room4()