diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 63e51a0..f87990a 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -25,6 +25,7 @@ public class GameManager { moveSpeed = 5; livesRemaining = 3; failedAttempts = 0; + score = 0; ghosts = new Ghost[ghostCount]; for (int i = 0; i < ghosts.length; i++) { ghosts[i] = new Ghost(this, i);