feat: affichage de la grille colorée et vérification de tt les contraintes

This commit is contained in:
2025-01-20 12:49:38 +01:00
parent b1dde68ec1
commit 862ff6e08d
6 changed files with 205 additions and 69 deletions

View File

@@ -4,27 +4,27 @@ public class Case {
private final int ligne;
private final int colonne;
private Symbole symbole;
public Case(int ligne, int colonne, Symbole symbole) {
this.ligne = ligne;
this.colonne = colonne;
this.symbole = symbole;
}
public int getLigne() {
return ligne;
}
public int getColonne() {
return colonne;
}
public Symbole getSymbole() {
return symbole;
}
public void setSymbole(Symbole symbole) {
this.symbole = symbole;
public Case(int ligne, int colonne, Symbole symbole) {
this.ligne = ligne;
this.colonne = colonne;
this.symbole = symbole;
}
public int getLigne() {
return ligne;
}
public int getColonne() {
return colonne;
}
public Symbole getSymbole() {
return symbole;
}
public void setSymbole(Symbole symbole) {
this.symbole = symbole;
}
@Override