Advertisement
baggiepr

Adventure Game Coding by Annabel Hiltingbury Junior

Jan 30th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.82 KB | None | 0 0
  1. from time import sleep
  2. pp=0
  3. exp=2
  4. name=input("Type in the name of your explorer")
  5. print("Welcome",name,"to Ancient Egypt the new assiged explorer")
  6. sleep(5.0)
  7. input("Press enter to continue" )
  8. print("You spot a crumbily pyramid door open , it is very dark")
  9. sleep(4.0)
  10. event1=input("Type g to go in f to find another door")
  11. if event1=="g":
  12.     print("You creep in and find a centuries old mummy lying on the floor")
  13.     sleep(4.0)
  14.     pp=pp+20
  15.     exp=exp+10
  16. else:
  17.     print("You can't find the other door and get in the open one at the front")
  18.     pp=pp+10
  19. sleep(3.5)
  20. print("You have",pp,"pyramid points")
  21. print("You have",exp,"experience points")
  22. sleep(3.5)
  23. input("Press enter to continue")
  24. sleep(3.5)
  25. print("You see a huge swarm of crunchy,bloodthirsty Scorpians")
  26. sleep(3.5)
  27. event2=input("A to attack C to creep by")
  28. sleep(3.5)
  29. if event2=="a":
  30.     print("You have a fight and you scare the evil Scorpians away and you win!")
  31.     sleep(3.5)
  32.     pp=pp=-1
  33.  
  34. else:
  35.     print("The Scorpians dont hear you when you creep by")
  36.     sleep(3.5)
  37.     pp=pp+1
  38.     exp=exp+2
  39. sleep(3.5)
  40. print("You have",pp,"pyramid points")
  41. print("You have",exp,"experience points")
  42. sleep(3.5)
  43. input("Press enter to continue")
  44. sleep(3.5)
  45.  
  46. print("You find a golden statue and you can't decide what to do with it??")
  47. sleep(3.5)
  48. event3=input("k to keep it or l to leave it there")
  49. sleep(3.5)
  50. if event3=="k":
  51.     print("k you keep and you get some money")
  52.     sleep(3.5)
  53.     pp=pp=+3
  54.  
  55. else:
  56.     print("You leave it and get a feature on an article in the newspaper")
  57.     sleep(3.5)
  58.     pp=pp+1
  59.     exp=exp+1
  60. sleep(3.5)
  61. print("You have",pp,"pyramid points")
  62. print("You have",exp,"experience points")
  63. sleep(3.5)
  64. input("Press enter to continue")
  65. print("You find a trap door covered in hairy ancient spiders and your biggest fear is of them!")
  66. sleep(3.5)
  67. event4=input("g to go in or r to runaway")
  68. sleep(3.5)
  69. if event4=="g":
  70.     print("You have a fight and you beat the spiders away from your latest find but end up with lots of spider bites")
  71.     sleep(3.5)
  72.     pp=pp=-2
  73.  
  74. else:
  75.     print("you runaway but realise you need to face your fears")
  76.     (3.5)
  77.     pp=pp-1
  78.     exp=exp+2
  79. sleep(3.5)
  80. print("You have",pp,"pyramid points")
  81. print("You have",exp,"experience points")
  82. sleep(3.5)
  83. input("Press enter to continue")
  84. print("You find a chamber full of priceless treasue")
  85. sleep(3.5)
  86. event5=input("t to take it all or l to leave it there")
  87. sleep(3.5)
  88. if event5=="t":
  89.     print("You have a fight and you beat the spiders away from your latest find but end up with lots of spider bites")
  90.     sleep(3.5)
  91.     pp=pp=-2
  92.  
  93. else:
  94.     print("you runaway but realise you need to face your fears")
  95.     (3.5)
  96.     pp=pp-1
  97.     exp=exp+2
  98. sleep(3.5)
  99. print("You have",pp,"pyramid points")
  100. print("You have",exp,"experience points")
  101. sleep(3.5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement