diff --git a/mini projet.py b/mini projet.py index dbf38bc..fbef8b3 100644 --- a/mini projet.py +++ b/mini projet.py @@ -98,19 +98,23 @@ class Personnage : j1A = joueur_1.jet_attaque() j2B = joueur_2.jet_defence() - if j1A > j2B: + if j1A > j2B : + print() joueur_1.affiche_caracteristique() joueur_2.affiche_caracteristique() - else j1A < j2B: + else j1A < j2B : + print() joueur_1.affiche_caracteristique() joueur_2.affiche_caracteristique() j2A = joueur_2.jet_attaque() j1B = joueur_1.jet defence() - if j2A > j1B: + if j2A > j1B : + print() joueur_1.affiche_caracteristique() joueur_2.affiche_caracteristique() - else j2A < j1B: + else j2A < j1B : + print() joueur_1.affiche_caracteristique() joueur_2.affiche_caracteristique()