repl.it
@vahrammkhitarya/

adventure time!!

Python 2.7

No description

fork
loading
Files
  • main.py
main.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
def clear():
  for x in range (40):
    print ("")

import time 
import random
#begining
print("")
print("")
print("")
print("==============")
print("==time 01:42==")
print("==============")
print("")
print("")
print("")
time.sleep(2)
print("=======================================")
print("Your plane was crashed but you survived")
print("=======================================")
print("")
print("")
time.sleep(2)
print("=====================================================")
print("you have to pass 35 challanges to get to civilization")
print("=====================================================")
print("")
print("")
print("===============")
time.sleep(2)
print("you have to keep 4 slots full ")
time.sleep(0.5)
print("hunger")
time.sleep(0.5)
print("conscience")
time.sleep(0.5)
print("bravity")
time.sleep(0.5)
print("""energy
===============
""")

print("depending on difficulty you will have different amount of filled slot for start ")
print("")
print("")
print("")
print("=========")
print("easy  ")
print("medium") 
print("hard  ")
print("=========")
difficulty = raw_input("choose:")
if difficulty == ("easy"):
  hunger = 50
  conscience = 50
  bravity = 50
  energy = 50
  hasdog = 0
  print ("hunger: 50  bravity: 50 energy: 50 conscience: 50  ")
elif difficulty == ("medium"):
  hunger = 35
  conscience = 35
  bravity = 35
  energy = 35
  hasdog = 0
  print ("hunger: 35  bravity: 35 energy: 35 conscience: 35  ") 
elif difficulty == ("hard"):
  hunger = 15
  conscience = 15
  bravity = 15
  energy = 15
  hasdog = 0
  print ("hunger: 15  bravity: 15 energy: 15 conscience: 15  ")
clear()
#situation 1
print("""
                                      ___
                                    _/`.-'`.
                          _      _/` .  _.'
                ..:::::.(_)   /` _.'_./
              .oooooooooo\ \o/.-'__.'o.
              .ooooooooo`._\_|_.'`oooooob.
            .ooooooooooooooooooooo&&oooooob.
          .oooooooooooooooooooo&@@@@@@oooob.
          .ooooooooooooooooooooooo&&@@@@@ooob.
          doooooooooooooooooooooooooo&@@@@ooob
          doooooooooooooooooooooooooo&@@@oooob
          dooooooooooooooooooooooooo&@@@ooooob
          dooooooooooooooooooooooooo&@@oooooob
          `dooooooooooooooooooooooooo&@ooooob'
          `doooooooooooooooooooooooooooooob'
            `doooooooooooooooooooooooooooob'
            `doooooooooooooooooooooooooob'
              `doooooooooooooooooooooooob'
              `doooooooooooooooooooooob'
                `dooooooooobodoooooooob'
                `doooooooob dooooooob'
                """)
print("You found an apple")
time.sleep(0.5)
print("but it may be poisioned")
time.sleep(0.5)
print("what will you do?")
time.sleep(0.5)
print("1)eat it")
time.sleep(0.5)
print("2)throw away")
time.sleep(0.5)
choice1 = int(raw_input(">>> "))
if choice1 == 1:
  apple = random.randint(1,2)
  if apple == 1:
    print("luckily apple was not poisoned ")
    hunger = hunger+5 
    energy = energy+5
    print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  elif apple == 2:
    print ("apple was poisoned and you lost even more hunger ")
    hunger = hunger-5
    energy = energy-5
    print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
elif choice1 == 2:
  print "you didn't eat apple. soon you feel that you get hungrier"
  hunger = hunger-2
  energy = energy-2
  print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
time.sleep(3)
clear()
#situation 2:
print('''    ___
 __/_  `.  .-"""-.
 \_,` | \-'  /   )`-')
  "") `"`    \  ((`"`
 ___Y  ,    .'7 /|
(_,___/...-` (_/_/
''')
time.sleep(1)
print("you see this dog injured and dirty")
time.sleep(1)
print ("what will you do?")
time.sleep(1)
print("1) leave it")
print("2) help it")
choice2 = int(raw_input("choose: "))
while choice2 == 1:
  print "you left it dieing alone "
  conscience = conscience - 7
  hunger = hunger - 2 
  print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  print "you keep walking and going and you never get home...(wait for futue updates for this way"
  break
else:
  print ("you helped the dog and it is coming with you now")
  print ("======================")
  print (' new choices unlocked')
  print ('======================')
  conscience = conscience + 7
  hunger = hunger - 2 
  print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  hasdog = 1
  time.sleep(2)
print ("you keep walking... it's 2:03 and your dog begins digging straight down")
print ("you go to him and see this")
time.sleep(0.6)
print ("""    ooo,    .---.
 o`  o   /    |\________________
o`   'oooo()  | ________   _   _)
`oo   o` \    |/        | | | |
  `ooo'   `---'         "-" |_| """)
time.sleep(0.5)
print ("1 leave it and go ")
print ("2 take it and go")
choice3 = int(raw_input("what will you do? "))
if choice3 == 1:
  bravity = bravity -15
  hunger = hunger - 2 
  print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  clear()
  print "you keep going and see a huge mansion with lights. you decide to go and ask for help you go to door, knock it and floor disappears under your legs you fall and..."
  print "  __    _   _    _____    ___   _____   ____   ____"
  print " /__|  | |_| |  |  |  |  | | | |_   _| | __|  |  | |" 
  print "| |__  |  _  |  |  _  |  |  _|   | |   | |__  |  _ \ "
  print " \__|  |_| |_|  |_| |_|  |_|     |_|   |___|  |_| \_\ "

  print "                   __     __   "
  print "                  |  |   |  |  "
  print "                  |  |   |  |  "
  print "                  |  |   |  |  "
  print "                  |__|   |__|  "
  print "              =====================    "
  print "                 murderer mystery"
  print "              =====================    "


elif choice3 == 2:
  bravity = bravity + 15
  hunger = hunger - 10
  print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  clear()    
  print "the ground moves, and a huge pyramid is rising up. you try to run away, but a mystery power pushes you in"
  print "  __    _   _    _____    ___   _____   ____   ____"
  print " /__|  | |_| |  |  |  |  | | | |_   _| | __|  |  | |" 
  print "| |__  |  _  |  |  _  |  |  _|   | |   | |__  |  _ \ "
  print " \__|  |_| |_|  |_| |_|  |_|     |_|   |___|  |_| \_\ "

  print "                   __     __   "
  print "                  |  |   |  |  "
  print "                  |  |   |  |  "
  print "                  |  |   |  |  "
  print "                  |__|   |__|  "
  print '             =====================   '
  print '                pyramid of dead      '
  print '             =====================   '

if choice3 == 2:
  "you are in a room. it\'s dark, but you see a door."
  "- it seems i have to go there. "
  'you are weak but you decide to go'
  'in front of you there are 3 weapons'
  'sword (it\'s light but not very sharp)'
  'shotgun with only 3 patrons'
  choice 4 = int(raw_input("what will you choose? "):
    if choice4 == 1:
      print 'you decided to take sword '
    elif choice4 == 2:
      print 'you decided to take shotgun. "
  print " you enter to a room wih a giant table in front of you."
  print "I will eat as much as I ca. I\'m too hungry"
  print "I will not eat that much. I think something"
  print "I will not eat this food, It\'s poisoned"
  choice 5 = int(raw_input("what will you do? ")):
  if choice5 == 1:
    hunger = 100
    power = powwer - 5
    print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  elif choice5 == 2:
    hunger = 50
    power = 75
    print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
  elif choice5 == 3:
    hunger = hunger - 7
    power = power - 7
    print "hunger: " + str(hunger) + " energy: " + str(energy) + " bravity: " + str(bravity) + " conscience: " + str(conscience)
    print "you go to the next door. it is open "
    print "you enter "
    
  
Fetching token
?