From 4d6abce3dfed9b394aef461ec821b0a82aa44938 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:41:10 +0100 Subject: [PATCH 1/2] added BETTER ascii pacman --- .../pacmanGame/VisualizerPlainTextUltra.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java index 5ad17d4..fecb2cf 100644 --- a/src/main/java/pacmanGame/VisualizerPlainTextUltra.java +++ b/src/main/java/pacmanGame/VisualizerPlainTextUltra.java @@ -75,26 +75,26 @@ public class VisualizerPlainTextUltra implements Visualizer { }; public final String[] playerSprite = { - "▄██▄", - "▀██▀" + "o88o", + "°88°" }; public final String[][] playerAltSprites = { { - "▄ ▄", - "▀██▀" + "o o", + "°88°" }, { - "▄██▄", - "▀ ▀" + "o88o", + "° °" }, { - " ▀█▄", - " ▄█▀" + " °8o", + " o8°" }, { - "▄█▀ ", - "▀█▄ " + "o8° ", + "°8o " } }; From d1a55995a24da795f642cebbf74501c891f8d5ef Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:44:30 +0100 Subject: [PATCH 2/2] 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;