Beispiel #1
0
 def run(self):
     game = GameEngine(self)
     while game.run():
         pygame.display.flip()
         self.clock.tick(60)
     self.destroy()
     return self
Beispiel #2
0
def main():
    environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1'
    change_directory()
    from game_engine import GameEngine
    game_engine = GameEngine()
    game_engine.run()