Update pman.py

This commit is contained in:
2025-04-15 22:24:53 +02:00
parent ddfe6f706d
commit 0776a21bff

View File

@@ -3,6 +3,7 @@ from actors.enums import Colors, PlayerDirection
from actors.pacman import ActorPacman
from labyrinth import Labyrinth
from actors.ghosts import Blinky, Pinky, Inky, Clyde # adjust import path as needed
from scoreboard import Scoreboard
__version__ = "0.2.1"
@@ -56,6 +57,7 @@ def main() -> None:
screen = pygame.display.set_mode((screen_width, screen_height))
pygame.display.set_caption("Pac-Man " + __version__)
scoreboard = Scoreboard()
labyrinth = Labyrinth(screen, width=screen_width, height=screen_height)
player = ActorPacman(screen, center=(200, 200))
ghost_home_center = (maze_width // 2, maze_height // 2)