Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. import random
  2.  
  3.  
  4. def A(gasCount, survivorCount, foodCount):
  5. print("You move to Quadrant A")
  6. gas(gasCount)
  7.  
  8.  
  9.  
  10. #def B(gasCount, survivorCount, foodCount):
  11.  
  12.  
  13. #def C(gasCount, survivorCount, foodCount):
  14.  
  15.  
  16. #def D(gasCount, survivorCount, foodCount):
  17.  
  18.  
  19. #def E(gasCount, survivorCount, foodCount):
  20. #gas(gasCount)
  21.  
  22. #def F(gasCount, survivorCount, foodCount):
  23.  
  24.  
  25. #def G(gasCount, survivorCount, foodCount):
  26.  
  27.  
  28. #def H(gasCount, survivorCount, foodCount):
  29.  
  30.  
  31. #def I(gasCount, survivorCount, foodCount):
  32.  
  33.  
  34. #def J(gasCount, survivorCount, foodCount):
  35.  
  36.  
  37. #def K(gasCount, survivorCount, foodCount):
  38.  
  39.  
  40. #def L(gasCount, survivorCount, foodCount):
  41.  
  42.  
  43. def M(gasCount, survivorCount, foodCount):
  44. print('''
  45. You start in quadrant M.''')
  46. while True:
  47.  
  48. action = input('''Which direction would you like to move? Type UP, DOWN, LEFT, or RIGHT
  49. ''')
  50. action = action.upper()
  51. if action == 'UP':
  52. print("You can't go that way, it leads to the volcano.")
  53. if action =='DOWN':
  54.  
  55. #def N(gasCount, survivorCount, foodCount):
  56.  
  57.  
  58. #def O(gasCount, survivorCount, foodCount):
  59.  
  60.  
  61. #def P(gasCount, survivorCount, foodCount):
  62.  
  63.  
  64. #def Q(gasCount, survivorCount, foodCount):
  65.  
  66.  
  67. #def R(gasCount, survivorCount, foodCount):
  68.  
  69.  
  70. #def S(gasCount, survivorCount, foodCount):
  71.  
  72.  
  73. #def T(gasCount, survivorCount, foodCount):
  74.  
  75.  
  76. #def U(gasCount, survivorCount, foodCount):
  77.  
  78.  
  79. #def V(gasCount, survivorCount, foodCount):
  80.  
  81.  
  82. #def W(gasCount, survivorCount, foodCount):
  83.  
  84.  
  85. #def X(gasCount, survivorCount, foodCount):
  86. #gas(gasCount)
  87.  
  88. #def Y(gasCount, survivorCount, foodCount):
  89.  
  90.  
  91. #def Z(gasCount, survivorCount, foodCount):
  92. #gas(gasCount)
  93.  
  94. #def A1(gasCount, survivorCount, foodCount):
  95.  
  96.  
  97. #def B1(gasCount, survivorCount, foodCount):
  98.  
  99.  
  100. #def C1(gasCount, survivorCount, foodCount):
  101.  
  102.  
  103. #def D1(gasCount, survivorCount, foodCount):
  104.  
  105.  
  106. #def E1(gasCount, survivorCount, foodCount):
  107.  
  108.  
  109. #def F1(gasCount, survivorCount, foodCount):
  110.  
  111.  
  112. #def G1(gasCount, survivorCount, foodCount):
  113.  
  114.  
  115.  
  116. ##def gas(gasCount):
  117. ## print("You have found a gas cache.")
  118. ## event = 1#random.randint(1, 3)
  119. ## if event == 1:
  120. ## print('''Unfortunately there is a group of scared and angry monkeys
  121. ## guarding the cache. You will have to get past them''')
  122. ## print('''Type ROLL to roll the dice. If you get above or equal to 6,
  123. ## you pass and get the gas. If not, you lose and must try again.''')
  124. ## while True:
  125. ## command = input()
  126. ## command = command.upper()
  127. ## if command == 'ROLL':
  128. ## rollOne = random.randint(1,6)
  129. ## rollTwo = random.randint(1,6)
  130. ## print(str(rollOne) + " " + str(rollTwo))
  131. ## else:
  132. ## print("That was not a valid command. Try again.")
  133. ## roll = rollOne + rollTwo
  134. ## if roll >= 6:
  135. ## print("You pass!")
  136. ## gasCount += 1
  137. ## break
  138. ## else:
  139. ## print("You did not pass. Try again.")
  140. ## if event == 2:
  141. ## print('''Unfortunately the lid of the cache is stuck. You will have to
  142. ##attempt to pry it open.''')
  143. ## print('''Type ROLL to roll the dice. If you get above or equal to 6,
  144. ##you pass and get the gas. If not, you lose and must try again.''')
  145. ## while True:
  146. ## command = input()
  147. ## command = command.upper()
  148. ## if command = 'ROLL':
  149. ## rollOne = random.randint
  150. ##
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. def main():
  161. print('''You are a tour guide with a group of tourists on an exotic island
  162. that houses one of the most famous volcanos in the world. The world believes
  163. the volcano is dormant, but while you are on the island it begins to erupt.''')
  164. input('Press Enter to continue')
  165. print('''You let your group explore the island on their own for a few hours,
  166. thinking it was perfectly safe. Now you must gather the group up, get enough
  167. supplies from the emergency caches around the island for your group to survive until
  168. help can arrive, and get to the boat. You start with only a map of the island
  169. and where all the emergency cashes are.''')
  170. input('Press Enter to continue')
  171.  
  172.  
  173.  
  174. #A(gasCount, survivorCount, foodCount)
  175.  
  176. #M(0, 0, 0)
  177.  
  178.  
  179. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement