-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDay3TreasureHunt.py
More file actions
70 lines (65 loc) · 3.38 KB
/
Day3TreasureHunt.py
File metadata and controls
70 lines (65 loc) · 3.38 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
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
64
65
66
67
68
69
70
print("""
¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶
¶¶¶ ¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶
¶¶¶ ¶¶ ¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶¶
¶¶¶ ¶¶¶ ¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶¶¶
¶¶¶ ¶¶¶ ¶¶ ¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶¶
¶¶ ¶¶¶¶¶ ¶¶ ¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶ ¶¶¶¶¶
¶¶ ¶¶¶¶¶ ¶¶ ¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶¶¶
¶¶¶¶¶ ¶¶ ¶¶ ¶¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶
¶¶¶¶¶¶¶ ¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶
¶¶¶ ¶¶¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶
¶¶ ¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶
¶¶ ¶¶¶ ¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶
¶¶ ¶¶ ¶¶ ¶¶¶¶¶ ¶¶¶ ¶¶¶¶ ¶¶¶
¶¶ ¶¶ ¶¶ ¶¶¶¶ ¶¶¶ ¶¶¶¶ ¶¶¶
¶¶ ¶¶ ¶¶ ¶¶¶¶ ¶¶ ¶¶¶¶ ¶¶¶
¶¶ ¶ ¶¶ ¶¶¶ ¶¶ ¶¶¶¶ ¶¶¶
¶ ¶ ¶¶ ¶¶ ¶¶ ¶¶¶¶ ¶¶¶
¶¶ ¶ ¶ ¶¶ ¶¶¶¶¶¶
¶ ¶ ¶¶ ¶¶¶¶¶¶
¶¶ ¶ ¶¶¶¶¶¶¶
¶¶¶ ¶¶¶¶¶¶
¶¶¶ ¶¶¶¶
¶¶¶¶¶
¶""")
print("Welcome to Treasure Hunt!")
print("Your mission is to find a buried treasure using a map.")
print("Throughout your trip you will face obstacles.")
print("Chose your action by typing 1 or 2 based on what you see fit.")
print("You started your journey and came across a huge swamp.")
print("What will you do?")
print("1. Walk across it")
print("2. Go around it")
answer = int(input())
if answer == 2:
print("You arrived at a mountain and you want to cross it.")
print("What will you do?")
print("1. Climb it to the other side")
print("2. Dig a tunnel to the other side")
answer = int(input())
if(answer == 2):
print("The tunnel collapsed. Game over.")
else:
print("You got to the other side.")
print("You found a village and you are starving.")
print("What will you do?")
print("1. Beg for food")
print("2. Work hard at a stable to afford food")
answer = int(input())
if(answer == 2):
print("You worked too hard after climbing a mountain and you died. Game over.")
else:
print("Villagers gave you money to afford food.")
print("You ate and you feel better.")
print("A villager asks about your journey.")
print("What will you do?")
print("1. Lie and hide that you are seeking a treasure.")
print("2. Share the truth about your objective.")
answer = int(input())
if(answer == 2):
print("The villager turns out to be the king of the land. He likes your honesty and rewards you with a lot of money. You win.")
else:
print("The villager turns out to be the king of the land. He spots the treasure map in your pocket. He orders the guards to behead you for lying to him. Game over.")
else:
print("You tried your best but you got rapped in the swamp and died. Game over.")