From cecd27902916bd74eabff177bfe0bb94034967bc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 May 2022 09:26:36 +0200 Subject: [PATCH] =?UTF-8?q?minage=20r=C3=A9par=C3=A9=20(doublon=20premi?= =?UTF-8?q?=C3=A8re=20case)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Grille.java | 25 +++++++++++++++---------- Listener.java | 1 - SwitchVisible.java | 25 ------------------------- Test.java | 2 +- 4 files changed, 16 insertions(+), 37 deletions(-) delete mode 100644 SwitchVisible.java diff --git a/Grille.java b/Grille.java index 547be4b..fe81e71 100644 --- a/Grille.java +++ b/Grille.java @@ -21,29 +21,33 @@ public class Grille extends JPanel { this.plateau= new Case[lignes*colonnes]; - // Initialisation : les cases sont cachées - boolean[] visible = new boolean[lignes*colonnes]; - for (int i=0; i