diff --git a/Compte_rendu_SAE_DEV_Fauvet.pdf b/Compte_rendu_SAE_DEV_Fauvet.pdf new file mode 100644 index 0000000..c8ba037 Binary files /dev/null and b/Compte_rendu_SAE_DEV_Fauvet.pdf differ diff --git a/FenetreRndmGrille.java b/FenetreRndmGrille.java index 069b11d..42fb6d8 100644 --- a/FenetreRndmGrille.java +++ b/FenetreRndmGrille.java @@ -64,9 +64,9 @@ public class FenetreRndmGrille extends Fenetre{ int nombreAleatoire = rand.nextInt(2); // génère un nombre entre 0 et 2 if(nombreAleatoire == 0){ - grille[i][j] = Cellules.LIBRE; //true + grille[i][j] = Cellules.LIBRE; //false } else { - grille[i][j] = Cellules.OCCUPE; //false + grille[i][j] = Cellules.OCCUPE; //true } this.modif = new Modifications(interfacePanel, grille,this.tabCouleur);