import java.awt.*; public class Configuration { private String[][] grille; public Configuration() { String[][] temp = { {" ", " ", " "}, {" ", " ", " "}, {" ", " ", " "} }; this.grille = temp; } public boolean estLibre(int x, int y) { return this.grille[x][y].equals(" "); } public void jouer(int x, int y, String joueur) { this.grille[x][y] = joueur; } }