Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import sleep
- xp=5
- lives=3
- print("""welcome""")
- input("\npress the enter key to continue")
- name=input("what is your name?")
- cave=input("what is the name of your cave")
- print("come into the",cave,name)
- print("""As you turn round the corner you see giant bear asleep blocking the way forward""")
- sleep(3.0)
- input("\npress the enter key to continue")
- event1=input("type a to attack the bear or type s to sneak past")
- if event1=="a":
- print("you decide to attack the asleep bear")
- sleep(3.0)
- print("the bear wakes up and tries to attack you.")
- print("he gives you a bad mark on your arm")
- xp=xp-1
- lives=lives-1
- else:
- print("you decide to sneak past the bear")
- sleep(3.0)
- print("he twitches but stays asleep you got by safe")
- xp=xp+1
- lives=lives+0
- print("you have",xp,"xp and",lives,"lives")
- import sys
- if lives <= 0:
- print(name,"is dead")
- sleep(5.0)
- print("haha")
- sleep(5.0)
- sys.exit(0)
- sleep(3.0)
- print("""as you step forward stone start to fall rapidly from the ceiling""")
- input("\npress the enter key to continue")
- event2=input("type r to run through or type b to wait for it to all to fall down")
- if event2=="r":
- sleep(3.0)
- print("you run through and lots of stones fall down on you")
- xp=xp-2
- lives=lives-1
- else:
- print("you wait for the stones to fall")
- sleep(3.0)
- print("you escape easily unhurt")
- xp=xp+1
- lives=lives+1
- print("you have",xp,"xp and",lives,"lives")
- import sys
- if lives <= 0:
- print(name,"is dead")
- sleep(5.0)
- print("haha")
- sleep(5.0)
- sys.exit(0)
- sleep(3.0)
- print("""you come across venomous vipers,posoinous spiders and deadly scorpions on the ceiling""")
- input("\npress the enter key to continue")
- event3=input("type a to attack them or r to run under them")
- if event3=="a":
- print("you attack them and get a few scorpion stings but you survive")
- xp=xp+0
- lives=lives-1
- else:
- print("you try to run under them")
- sleep(3.0)
- print("they all fall on you and you get really injured")
- xp=xp-1
- lives=lives-2
- print("you have",xp,"xp and",lives,"lives")
- import sys
- if lives <= 0:
- print(name,"is dead")
- sleep(5.0)
- print("haha")
- sleep(5.0)
- sys.exit(0)
- sleep(3.0)
- print("""you stumble across 2 pathways""")
- input("\npress the enter key to continue")
- event4=input("type r to go down the right pathway or l for the left pathway")
- if event4=="r":
- print("you choose the right pathway")
- xp=xp-1
- lives=lives-10
- else:
- print("You choose the left pathway")
- xp=xp+10
- lives=lives+5
- print("you have",xp,"xp and",lives,"lives")
- import sys
- if lives <= 0:
- print(name,"is dead")
- sleep(5.0)
- print("haha")
- sleep(5.0)
- sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement