LES COULEURS

This commit is contained in:
Cyprien111
2025-04-14 10:21:19 +02:00
parent dd3104e823
commit aef6dcf2b7
4 changed files with 21 additions and 7 deletions

View File

@@ -6,6 +6,10 @@ import java.util.Map;
* This class is cell of the board of the Gomoku game.
*/
public class GomokuCell{
public static final String RESET = "\u001B[0m";
public static final String ROUGE = "\u001B[31m";
public static final String VERT = "\u001B[32m";
/** Enumerate neighbor with key in Cardinal direction and key representing the cell in that direction. */
private EnumMap<Cardinal,GomokuCell> neighbour;
/** The state of the cell represented by the enumerate Color, Nil is empty, white and black for the color of a token */