Update pman.py
This commit is contained in:
2
pman.py
2
pman.py
@@ -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)
|
||||
|
Reference in New Issue
Block a user