This commit is contained in:
2025-04-10 12:02:08 +02:00
parent 0fbea2ca0f
commit 3226e72d32
2 changed files with 4 additions and 4 deletions

View File

@@ -88,10 +88,10 @@ public class Console implements OutputSystem {
for (int j = 0; j < Coordinate.VALUE_MAX; j++) {
Piece p = pieceAt(j, i);
if ((i+j)%2==0) {
string.append(Colors.WHITE_BACKGROUND_BRIGHT);
string.append(Colors.WHITE_BACKGROUND);
}
else {
string.append(Colors.BLACK_BACKGROUND_BRIGHT);
string.append(Colors.BLACK_BACKGROUND);
}
if (p == null) {
string.append(" " + Colors.RESET);