Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import sleep
- import sys
- bravery=5
- equip=["garlic","zapper","ghostbuster","shield"]
- print("""Welcome to the Haunted House!
- In store for you are some of the scaaaaaariest tasks you will ever do!
- Good Luck!""")
- input("Type'yes'to carry on.")
- name=input("What is your name?")
- print("""
- """,name,"""Welcome to the Hauuuuuunted House!
- """)
- sleep(3.0)
- input("Type go to continue")
- print("""
- As you step inside the door and walk nervously down the errie cobwebbed hall,
- a disembodied hand comes floating towards you.You start trembling.
- """)
- sleep(3.2)
- event1=input("Press s to sneak past or z to zap it")
- sleep(2.0)
- if event1=="s":
- print("""
- You are a coward!You just manage to escape but it
- won't happen again!""")
- bravery=bravery-2
- else:
- print("""Well done!You succcessfully killed the horrible hand.""")
- bravery=bravery+2
- print("You have",bravery,"bravery points and this equipment",equip)
- sleep(3.0)
- print("""
- You go upstairs, shaken by what has just happened to you.
- Suddenly, a hooded vampire with huge fangs jumps out at you and you scream.
- You then gain cofidence again and do something to defend yourself.What is it?
- """)
- sleep(2.0)
- event1=input("Press g to use garlic or a to scream at it and scare it away. ")
- sleep(2.0)
- if event1=="g":
- print("""
- You made the right choice. Vampires aren't able to tolerate garlic
- and the vampire collapsed in a heap.
- """)
- bravery=bravery+2
- else:
- print("""Oh no! The vampire just got hungrier. Watch out! You escaped but next time
- you won't be so lucky.""")
- bravery=bravery-2
- sleep(2.0)
- print("You have",bravery,"bravery points and this equipment",equip,)
- if bravery <= 0:
- print(name," is dead")
- sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement