добаивл gey menu

This commit is contained in:
2022-12-11 21:53:59 +07:00
parent fca7d11b43
commit 4627e9d0d1
4 changed files with 28 additions and 0 deletions
+11
View File
@@ -1,7 +1,18 @@
import pygame
from modules.Game import Game
from modules.GameMenu import menu
def main():
running = True
show_menu = True
while running:
if show_menu:
menu()
show_menu = False
else:
running = False
pygame.display.flip()
game = Game()
game.start()