Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Start of the program
- print "Hello there! You are about to play the Maze Adventure!"
- # Ask if they actually want to play the game
- # Make a raw input
- start = raw_input("Press Y if you would like to play the Maze Adventure, and N if you wouldn't like to.")
- # Find out what they do say
- if start.lower() == "y":
- print "Awesome!"
- #get their name
- name = raw_input("What is your name?")
- print name
- #Figure out which way they want to go
- door = raw_input("Hello %s, You are about to enter the Maze Adventure! Are you going to go through door 1, door 2, or door 3 (write 1 for first, 2 for second and 3 for third)" % (name))
- if (door == "1"): # Picked door 1
- print "Since you chose Door 1, you now get to go either right or left"
- d1 = raw_input("R for right & L for left")
- if d1.lower() == "r": # The person went to the Right
- print "You can either go down the elevator or go around it and run straight..."
- d1es = raw_input("Please type E for Elevator and S to go straight")
- if d1es.lower() == "e": #Find out if person went on the elevator
- print "You can now either go to the basement or the top floor..."
- d1ebtf = raw_input("Type B for Basement or T for Top Floor") #d1ebtf stands for door 1 elevator basement top floor
- if d1ebtf.lower() == "b": #See if they chose Basement
- print "The shaft broke as you went down to the Basement, and you fell unconscious, but a stranger was able to heal you."
- print "You either say Thanks for helping me or Who are you..."
- mstrangerconversation1 = raw_input("Type 1 for to say Thanks or 2 to ask who this stranger is") # mstrangerconversation1 means mysterious stranger conversation number 1
- if (mstrangerconversation1 == "1"): # This means the person said to say thank you
- print "I am saying this to fill it in since it gives me an error"
- elif d1.lower() == "l": # The person went to the Left
- print "You see a ladder going up and a slide going down. Which way do you go?"
- left_lad_sli = raw_input("Please type L for Ladder and S for Slide")
- if left_lad_sli.lower() == "l":
- print "You slip on one of the bars, but a trampoline was able to catch your fall..."
- if left_lad_sli.lower() == "s":
- print "test"
- else: # if the person didn't type in L or R
- print "I didn't understand what you said. Please try again next time, Bye!"
- elif door == "2": # Picked door 2
- print "Since you chose Door 2, you see a diverging hallway..."
- d2 = raw_input("Which will you pick [L for left, R for right?")
- print d2
- elif door == "3": #Picked door 3
- print "Since you picked Door 2, you either go up or down..."
- d3 = raw_input("Type U for up and D for down")
- else:
- print "I didn't understand what you said, please try again next time! Bye for now!"
- elif start.lower() == "n":
- print "Your missing out... See you next time, BYE!"
- else:
- print "I didn't quite understand what you said... Please try again. Bye!"
Advertisement
Add Comment
Please, Sign In to add comment