#7 Added ghost home and pivoting walls. /JL

This commit is contained in:
Jan Lerking
2025-04-14 13:50:36 +02:00
parent b1701f02ea
commit 6211a82ba4
3 changed files with 75 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ from actors.enums import Colors, PlayerDirection
from actors.pacman import ActorPacman
from labyrinth import Labyrinth
__version__ = "0.1.1"
__version__ = "0.1.2"
def main() -> None:
pygame.init()
@@ -43,7 +43,8 @@ def main() -> None:
player.direction = PlayerDirection.DirectionUp
elif hat_y == -1:
player.direction = PlayerDirection.DirectionDown
labyrinth.draw()
player.animate()
player.draw()
pygame.display.flip()