couleurs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user