--- a/bit_maze.py +++ b/bit_maze.py @@ -10,7 +10,8 @@ class App: def __init__(self) -> None: - pyxel.init(SCREEN_WIDTH, SCREEN_HEIGHT, "Bit Maze", FPS) + # FredyGames: no quit key on the web (quitting only freezes the page). + pyxel.init(SCREEN_WIDTH, SCREEN_HEIGHT, "Bit Maze", FPS, quit_key=pyxel.KEY_NONE) pyxel.load("assets/bit_maze.pyxres") global game_scene