Skip to content

Commit

Permalink
fix errorf
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarra99 committed Nov 19, 2024
1 parent 36b0cdb commit 1f8f984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/demineur.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ def jouer(self):

if __name__ == "__main__":
try:
taille, nombre_mines = choisir_difficulte()
jeu = Demineur(taille,nombre_mines)
real_taille, nb_mines = choisir_difficulte()
jeu = Demineur(taille=real_taille, nombre_mines=nb_mines)
jeu.charger_jeu()
jeu.jouer()
except ValueError as e:
Expand Down

0 comments on commit 1f8f984

Please sign in to comment.