-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTreasure_Island.py
More file actions
37 lines (35 loc) · 1.12 KB
/
Treasure_Island.py
File metadata and controls
37 lines (35 loc) · 1.12 KB
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
print("Welcome to Treasure Island.")
print("Your mission isto find the treasure")
choice1 = input("Please choose 'Right' or 'Left'\n").lower()
if choice1 == "right":
print("Game Over")
elif choice1 == "left":
print("Congratulations, you've made it to the next level")
choice2 = input("Do you want to swim or wait? Please write 'Swim' or 'Wait'\n").lower()
if choice2 == "swim":
print("Game Over")
elif choice2 == "wait":
print("Congratulations, you've made it to the next level")
choice3 = input("Please choose door color? 'Red', 'Blue' or 'Yellow'\n").lower()
if choice3 == "red":
print("Game Over")
elif choice3 == "blue":
print("Game Over")
elif choice3 == "yellow":
print(''' You win
.-=-.)
/_ _ )
\@ @ /
(_> _)
`)(_
/((_`)_,
\__(/-"
__|||__
((__|__))
''')
else:
print("wrong login")
else:
print("wrong login")
else:
print("wrong login")