Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmp33 committed Sep 3, 2021
1 parent 7dff4fb commit 1218849
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/com/labrisca/catalan/util/Color.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
1 change: 0 additions & 1 deletion src/com/labrisca/english/util/Color.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 1218849

Please sign in to comment.