Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.46 KB | None | 0 0
  1. from sys import exit
  2. from random import randrange
  3.  
  4. class GameOver(object):
  5.    
  6.     death = ["\nGET REKT.", "\nBITCH PLEASE", "\nGG NUB", "\nKYS", "\nYOU SUCK",
  7.     "\nCOME ON", "\nWHY THE FUCK DID YOU DO THAT?", "\nARE YOU EVEN TRYING?"
  8.     ]
  9.    
  10.     def start(self):
  11.         print(self.death[randrange(0, len(self.death))])
  12.         exit()
  13.        
  14.        
  15. class Scene1(object):
  16.     def start(self):
  17.         print("\nScene1 description")
  18.    
  19.         action = input("\n>")
  20.    
  21.         if action == "1":
  22.             print("\nScene1 Outcome1 description")
  23.             #game = Engine("Scene2")
  24.    
  25.         else:
  26.             print("\nScene1 Outcome2 description")
  27.             #game = Engine("GameOver")
  28.    
  29.  
  30. class Scene2(object):
  31.     def start(self):
  32.         print("\nScene2 description")
  33.    
  34.         action = input("\n>")
  35.    
  36.         if action == "1":
  37.             print("\nScene2 Outcome1 description")
  38.             #game = Engine("Scene3")
  39.            
  40.         else:
  41.             print("\nScene2 Outcome2 description")
  42.             #game = Engine("GameOver")
  43.            
  44.            
  45. class Scene3(object):
  46.    def start(self):
  47.         print("\nScene3 description")
  48.    
  49.         action = input("\n>")
  50.    
  51.         if action == "1":
  52.             print("\nScene3 Outcome1 description")
  53.             print("YOU WON")
  54.             exit()
  55.    
  56.         else:
  57.             print("\nScene3 Outcome2 description")
  58.             #game = Engine("GameOver")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement