From fd598eeb07e8c8ebef944d9fcc8d5893b41fcef9 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 3 May 2022 15:32:40 +0200 Subject: [PATCH] =?UTF-8?q?Marquage=20finalis=C3=A9,=20cases=20non=20clica?= =?UTF-8?q?bles,=20probl=C3=A8me=20d'affichage=20fix=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Grille.java | 11 ----------- Listener.java | 20 +++++++++++++++++--- Sus.java | 18 ++++++++++++++++++ Test.java | 2 +- 4 files changed, 36 insertions(+), 15 deletions(-) create mode 100644 Sus.java diff --git a/Grille.java b/Grille.java index fe81e71..04441de 100644 --- a/Grille.java +++ b/Grille.java @@ -27,7 +27,6 @@ public class Grille extends JPanel { Random rand = new Random(); // On initialise les emplacements des mines caseMine[0] = rand.nextInt(lignes*colonnes); - System.out.println("mine 0 : "+ caseMine[0]); for (int i=1;i