Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 3rd, 2012  |  syntax: None  |  size: 2.56 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #SIMPLE RPG - Justin Long
  2. import time
  3.  
  4. loop = 1
  5. choice = 0
  6. hero = 0
  7.  
  8. while loop == 1:
  9.     print "Welcome to RPG-Wiley Ford"
  10.     print " "
  11.  
  12.     print "1) Play RPG-WF"
  13.     print "2) Quit"
  14.     print " "
  15.  
  16.     choice = input("Choose an option: ")
  17.     if choice == 1:
  18.         print " "
  19.         print "1) Knight"
  20.         print "2) Archer"
  21.         print "3) Mage"
  22.         print " "
  23.         hero = input("Please choose a class: ")
  24.         if hero == 1:
  25.             print " "
  26.             print " "
  27.             print " "
  28.             print "You wake up to your parents screaming!"
  29.             time.sleep(1.5)
  30.             print "You rush to the living room to see what the fuss is about."
  31.             time.sleep(2.3)
  32.             print "Oh no, it appears Mark Blankenship is at it again!"
  33.             time.sleep(1.6)
  34.             print "He is using his money-staff to steal everyones money!"
  35.             time.sleep(1.5)
  36.             print " "
  37.             print " "
  38.             print " "
  39.             print "1) Call 911!"
  40.             print "2) Go to the store!"
  41.             print "3) Grab your sword, then go to the store!"
  42.             print " "
  43.             option = input("Choose an option: ")
  44.             if option == 1:
  45.                 print " "
  46.                 print "You call 911, and tell them what happened."
  47.                 time.sleep(.8)
  48.                 print "They call you a complete pussy and hang up!"
  49.                 time.sleep(.8)
  50.                 print "Game over!"
  51.                 print " "
  52.                 print "--------------------------------------------------------------------------------"
  53.                 time.sleep(5)
  54.             elif option == 2:
  55.                 print " "
  56.                 print "You head out the door, and make your way towards the store"
  57.                 time.sleep(2)
  58.                 print "You reach the store, only to get all your money taken away by Marks money-staff!"
  59.                 time.sleep(2.5)
  60.                 print "Game over!"
  61.                 print " "
  62.                 print "--------------------------------------------------------------------------------"
  63.                 time.sleep(5)
  64.             elif option ==3:
  65.                 print " "
  66.                 print "You grab your shiny sword and head out the door!"
  67.                 time.sleep(2)
  68.                 print "On the way to the store you see a friend, Adam Stump."
  69.                 time.sleep(3)
  70.                 print "You and Adam start start heading to the store, side by side."
  71.                
  72.     else:
  73.         print "sup"
  74. print "thanks for playing"