Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- import time
- name = input("What is your name? ")
- print("Hello, "+name)
- answer = ""
- while answer != "yes" and answer != "no":
- answer = input("Do you want to play hide and seek?")
- if answer == "yes":
- while answer != "hide" and answer != "looking":
- answer = input("Great, do you want to be the one looking or the one hiding?")
- if answer == "hide":
- print("Alrigt, I'll be counting to 10!")
- while answer != "under the bed" and answer != "the closet":
- answer = input("(You should probably hide, choose between hiding in the closet or under the bed)")
- if answer == "under the bed":
- print("You get under the bed and stay hidden for a short while before being found and getting killed.")
- print("You lost")
- elif answer == "the closet":
- print("You tuck yourself in the closet and make yourself comfortable.")
- time.sleep(2)
- print("Suddenly, the floor disappears and you begin to fall down aimlessly until you die from your fall.")
- time.sleep(1)
- while answer != "w8^AD6Z?v6KAug=@":
- answer=input("you lost")
- elif answer == "looking":
- print("(She grabs your head and turns it towards the wall)")
- time.sleep(1)
- print("Count to 10 now hun")
- time.sleep(1)
- print("As she begins running away to hide, you count to 10, when you're done you")
- print("see a halway with a total of 7 doors, each of which are labeled a number between 1 to 7")
- while answer not in [1,2,3,4,5,6,7]:
- answer=int(input('pick a number between 1 and 7'))
- print({1:"you're dead",
- 2:"u ded",
- 3:"u ded",
- 4:"u ded",
- 5:"u ded",
- 6:"u ded",
- 7:"U WIN MUTHAFUCKA"}.get(answer))
- elif answer == "no":
- print('Ok, '+name)
- time.sleep(1)
- while answer != "run" and answer != "attack":
- answer = input("(the killer approaches you, do you defend yourself or run away?)")
- if answer == "run":
- print("You run faster than sanic and escape her")
- time.sleep(2)
- print("You survived.")
- elif answer == "attack":
- print("You throw your hardest punch against her face")
- time.sleep(2)
- print("She grabs your hand and cuts through it all the way to your head")
- time.sleep(1)
- print("You're dead")
- #use a while thingy more often
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement