From 118ce1b3db2dd45c483808493eb4a46b16dc97d9 Mon Sep 17 00:00:00 2001 From: Lerking Date: Sat, 19 Apr 2025 10:12:05 +0200 Subject: [PATCH] Update maze.py --- maze.py | 1 + 1 file changed, 1 insertion(+) diff --git a/maze.py b/maze.py index a5abd8c..2c3e911 100644 --- a/maze.py +++ b/maze.py @@ -36,6 +36,7 @@ class Maze: self.power_pellets.add((x, y)) elif char == "P": self.pacman_start = (x * TILE_SIZE + TILE_SIZE // 2, y * TILE_SIZE + TILE_SIZE // 2 + 32) + self.pacman_location = (x, y) def draw(self, screen): for y, row in enumerate(self.layout):