Advertisement
robertvari

classes

Feb 9th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. from gameModules import Assets, Characters, Places
  2. import os
  3.  
  4. class Game():
  5.     def __init__(self):
  6.         self.clearWindow()
  7.  
  8.         self.intro()
  9.  
  10.  
  11.     def intro(self):
  12.         print "-"*50, "ADVENTURE GAME", "-"*50
  13.         print "This is your first time here. Who are you?"
  14.  
  15.         self.createPlayer()
  16.  
  17.     def createPlayer(self):
  18.         pass
  19.  
  20.     def clearWindow(self):
  21.         os.system("cls")
  22.  
  23. Game()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement