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: case Color.NIL:
return "."; return ".";
case Color.BLACK: case Color.BLACK:
return "X"; return "\u274C";
case Color.WHITE: case Color.WHITE:
return "O"; return "\uD83D";
default: default:
throw new IllegalStateException("Unexpected value: " + this.getState()); throw new IllegalStateException("Unexpected value: " + this.getState());
} }

View File

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