From d1a55995a24da795f642cebbf74501c891f8d5ef Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:44:30 +0100 Subject: [PATCH] added displaying lives to vptu --- src/main/java/pacmanGame/VisualizerPlainTextUltra.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java index fecb2cf..8ff0fae 100644 --- a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java +++ b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java @@ -112,7 +112,7 @@ public class VisualizerPlainTextUltra implements Visualizer { output = ""; if(showScore) { - output = "\nSCORE: " + gameManager.score + "\n\n"; + output = "\nSCORE: " + gameManager.score + " LIVES: " + gameManager.livesRemaining + "\n\n"; } int lineBufferSize = 2;