diff --git a/personnage.py b/personnage.py index 723e0c3..2efcc61 100644 --- a/personnage.py +++ b/personnage.py @@ -56,6 +56,14 @@ class Personnage : inv = self.inventaire[4] , self.inventaire[1] print("Votre inventaire contient", *inv, sep=" ,") - +P1 = Personnage("Kaaris", "guerrier") +P2 = Personnage("Booba", "voleur") + + +def dé_huit (x) : + return random.randint(1, 8) +def dé_quatre (x) : + return random.randint(1, 4) + kaaris = Personnage("Kaaris", "guerrier") booba = Personnage("Booba", "voleur")