meilleurs affichage

This commit is contained in:
Cyprien111
2025-04-14 09:38:55 +02:00
parent 87aee9b1d7
commit c1e7a7311b
2 changed files with 4 additions and 4 deletions

View File

@@ -147,9 +147,9 @@ public class GomokuCell{
case Color.NIL:
return ".";
case Color.BLACK:
return "X";
return "\u274C";
case Color.WHITE:
return "O";
return "\uD83D";
default:
throw new IllegalStateException("Unexpected value: " + this.getState());
}

View File

@@ -226,10 +226,10 @@ public class GomokuGame {
char c;
switch (board.get(i, j).getState()) {
case BLACK:
c = '\u274C';
c = 'X';
break;
case WHITE:
c = '\uD83D';
c = 'O';
break;
case NIL:
c = '.';