Spaces:
Running
on
Zero
Running
on
Zero
File size: 319 Bytes
b2add11 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from controller import Controller
from model import Game
from view import View
def main():
game = Game()
view = View(game)
controller = Controller(game, view)
while game.is_running:
controller.handle_input()
game.update()
view.render()
if __name__ == "__main__":
main()
|