diff --git a/miniP1.py b/miniP1.py index c6cb0d5..2bd4359 100644 --- a/miniP1.py +++ b/miniP1.py @@ -68,7 +68,7 @@ def game(): if Player_2_cat == "2": Player_2_cat = "Puissant Magicien" if Player_2_cat == "3": - Player_2_cat = "vicieux de Voleur" + Player_2_cat = "Fripon le Voleur" if Player_2_cat == "4": Player_2_cat = "Un magnifique Elfe" print ("Bien que votre souhait sois exaucé vous etes un" ,Player_2_cat) @@ -76,6 +76,13 @@ def game(): player_1 = Personnage (Player_1_nom, Player_1_cat) player_2 = Personnage (Player_2_nom, Player_2_cat) + while player_1.pdv > 0 and player_2.pdv > 0 : + PL1_A = player_1.jet_attaque() + PL2_D = player_2.jet_defence() + + if PL1_A > PL2_D: + + \ No newline at end of file