1 Commits

Author SHA1 Message Date
113a5e3db3 ça marche 2025-10-08 12:23:36 +02:00

View File

@@ -122,7 +122,7 @@ class JeuPendu:
bg=COULEUR_BOUTON, bg=COULEUR_BOUTON,
fg="white", fg="white",
activebackground=COULEUR_BOUTON_SURVOL, activebackground=COULEUR_BOUTON_SURVOL,
command=lambda l=lettre.lower(): self.deviner_lettre(l) command=lambda l=lettre.lower(): self.guess_letter(l)
) )
bouton.grid(row=i // 9, column=i % 9, padx=3, pady=3) bouton.grid(row=i // 9, column=i % 9, padx=3, pady=3)
self.boutons_lettres[lettre.lower()] = bouton self.boutons_lettres[lettre.lower()] = bouton