Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sys import exit
- from random import randint
- class Start(object):
- def __init__(self, start):
- self.quips = [
- "Ouch town population you!"
- "Your absolute garbage!"
- "A blind person would escape faster than you!"
- "Hahahahahahahahahahahah you suck!"
- ]
- self.start = start
- def play(self):
- next_room_name = self.start
- while True:
- print "\n----------"
- room = getattr(self, next_room_name)
- next_room_name = room()
- def death(self):
- print self.quips[randint(0, len(self.quips)-1)]
- exit(1)
- class Rooms(object):
- def __init__(self, eleven, server, parking):
- self.rooms = eleven, server, parking
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement