Browse Source

mise a jour

master
manon 3 months ago
parent
commit
891f02a63c
  1. 13
      Mini projet nb1.py

13
Mini projet nb1.py

@ -1,4 +1,13 @@
from random import randint from random import randint
class Personnage: class Personnage:
def __init__(self, nom, pdv, exp, cat inventaire): def __init__(self, nom, pdv, exp, cat):
self. pdv = 20
exp = 1
self.nom = nom
self.pdv = pdv
self.exp = exp
self.cat = cat
self.inventaire = []
def jet_attaque (self):
Loading…
Cancel
Save