From 12188496a08d876207d01fcfa3faa7467992599d Mon Sep 17 00:00:00 2001 From: ericmp Date: Fri, 3 Sep 2021 20:14:58 +0200 Subject: [PATCH] refactoring --- src/com/labrisca/catalan/util/Color.java | 2 +- src/com/labrisca/english/util/Color.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/labrisca/catalan/util/Color.java b/src/com/labrisca/catalan/util/Color.java index 1753933..6c8f86e 100644 --- a/src/com/labrisca/catalan/util/Color.java +++ b/src/com/labrisca/catalan/util/Color.java @@ -80,6 +80,6 @@ public static String playWinner(Player winner) { String color; if (winner.getName().equalsIgnoreCase("bot")) color = ANSI_RED; else color = ANSI_GREEN; - return color + ">> El jugador " + winner.getName() + " ha guanyat la jugada" + ANSI_RESET; + return color + ">> " + winner.getName() + " ha guanyat la jugada" + ANSI_RESET; } } diff --git a/src/com/labrisca/english/util/Color.java b/src/com/labrisca/english/util/Color.java index 9938950..300c030 100644 --- a/src/com/labrisca/english/util/Color.java +++ b/src/com/labrisca/english/util/Color.java @@ -85,7 +85,6 @@ public static String playWinner(Player winner) { String color; if (winner.getName().equalsIgnoreCase("bot")) color = ANSI_RED; else color = ANSI_GREEN; - return color + ">> " + winner.getName() + " won the play" + ANSI_RESET; } }