Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- def A(gasCount, survivorCount, foodCount):
- print("You move to Quadrant A")
- gas(gasCount)
- #def B(gasCount, survivorCount, foodCount):
- #def C(gasCount, survivorCount, foodCount):
- #def D(gasCount, survivorCount, foodCount):
- #def E(gasCount, survivorCount, foodCount):
- #gas(gasCount)
- #def F(gasCount, survivorCount, foodCount):
- #def G(gasCount, survivorCount, foodCount):
- #def H(gasCount, survivorCount, foodCount):
- #def I(gasCount, survivorCount, foodCount):
- #def J(gasCount, survivorCount, foodCount):
- #def K(gasCount, survivorCount, foodCount):
- #def L(gasCount, survivorCount, foodCount):
- def M(gasCount, survivorCount, foodCount):
- print('''
- You start in quadrant M.''')
- while True:
- action = input('''Which direction would you like to move? Type UP, DOWN, LEFT, or RIGHT
- ''')
- action = action.upper()
- if action == 'UP':
- print("You can't go that way, it leads to the volcano.")
- if action =='DOWN':
- #def N(gasCount, survivorCount, foodCount):
- #def O(gasCount, survivorCount, foodCount):
- #def P(gasCount, survivorCount, foodCount):
- #def Q(gasCount, survivorCount, foodCount):
- #def R(gasCount, survivorCount, foodCount):
- #def S(gasCount, survivorCount, foodCount):
- #def T(gasCount, survivorCount, foodCount):
- #def U(gasCount, survivorCount, foodCount):
- #def V(gasCount, survivorCount, foodCount):
- #def W(gasCount, survivorCount, foodCount):
- #def X(gasCount, survivorCount, foodCount):
- #gas(gasCount)
- #def Y(gasCount, survivorCount, foodCount):
- #def Z(gasCount, survivorCount, foodCount):
- #gas(gasCount)
- #def A1(gasCount, survivorCount, foodCount):
- #def B1(gasCount, survivorCount, foodCount):
- #def C1(gasCount, survivorCount, foodCount):
- #def D1(gasCount, survivorCount, foodCount):
- #def E1(gasCount, survivorCount, foodCount):
- #def F1(gasCount, survivorCount, foodCount):
- #def G1(gasCount, survivorCount, foodCount):
- ##def gas(gasCount):
- ## print("You have found a gas cache.")
- ## event = 1#random.randint(1, 3)
- ## if event == 1:
- ## print('''Unfortunately there is a group of scared and angry monkeys
- ## guarding the cache. You will have to get past them''')
- ## print('''Type ROLL to roll the dice. If you get above or equal to 6,
- ## you pass and get the gas. If not, you lose and must try again.''')
- ## while True:
- ## command = input()
- ## command = command.upper()
- ## if command == 'ROLL':
- ## rollOne = random.randint(1,6)
- ## rollTwo = random.randint(1,6)
- ## print(str(rollOne) + " " + str(rollTwo))
- ## else:
- ## print("That was not a valid command. Try again.")
- ## roll = rollOne + rollTwo
- ## if roll >= 6:
- ## print("You pass!")
- ## gasCount += 1
- ## break
- ## else:
- ## print("You did not pass. Try again.")
- ## if event == 2:
- ## print('''Unfortunately the lid of the cache is stuck. You will have to
- ##attempt to pry it open.''')
- ## print('''Type ROLL to roll the dice. If you get above or equal to 6,
- ##you pass and get the gas. If not, you lose and must try again.''')
- ## while True:
- ## command = input()
- ## command = command.upper()
- ## if command = 'ROLL':
- ## rollOne = random.randint
- ##
- def main():
- print('''You are a tour guide with a group of tourists on an exotic island
- that houses one of the most famous volcanos in the world. The world believes
- the volcano is dormant, but while you are on the island it begins to erupt.''')
- input('Press Enter to continue')
- print('''You let your group explore the island on their own for a few hours,
- thinking it was perfectly safe. Now you must gather the group up, get enough
- supplies from the emergency caches around the island for your group to survive until
- help can arrive, and get to the boat. You start with only a map of the island
- and where all the emergency cashes are.''')
- input('Press Enter to continue')
- #A(gasCount, survivorCount, foodCount)
- #M(0, 0, 0)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement