AI_Labyrinth/gamemodes.py
Szymon Komosinski 37d1265b98 First deadline
2020-04-27 11:38:36 +02:00

19 lines
360 B
Python

from grid import *
from config import *
def singlePlayer():
global pause
gameExit = False
a = Grid()
a.generate_map()
while not gameExit:
for event in pg.event.get():
if event.type == pg.QUIT:
pg.quit()
quit()
a.display_map()
pg.display.update()
clock.tick(60)