Commit 6144ccdf authored by Rémi PORÉE's avatar Rémi PORÉE
Browse files

initial commit

parent 0d713366
......@@ -9,7 +9,6 @@ class Joueur :
self.nb = nb
def egrene (self,case,plateau) :
print("hey !")
n = case.num
while case.cont != 0 :
if n == 11 :
......@@ -17,7 +16,6 @@ class Joueur :
else :
n+=1
if n != case.num :
print(n,case.cont)
case.cont -= 1
plateau[n].cont += 1
return n
......
......@@ -9,7 +9,7 @@ class Plateau (list) :
def afficher (self) :
for i in range(len(self)) :
print("case n° {} :".format (i),self[i].cont)
print(" case n° {} :".format (i),self[i].cont)
if __name__ == "__main__":
plateau = Plateau()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment