|
@ -29,11 +29,12 @@ class Jeux: |
|
|
pq.pop(rd) |
|
|
pq.pop(rd) |
|
|
|
|
|
|
|
|
def distribue(self): |
|
|
def distribue(self): |
|
|
|
|
|
print(self.paquet) |
|
|
f1 = File() |
|
|
f1 = File() |
|
|
f2 = File() |
|
|
f2 = File() |
|
|
for val in range(self.paquet.taille()): |
|
|
for val in range(self.paquet.taille()): |
|
|
f1.enfiler(self.paquet[val]) |
|
|
f1.enfiler(self.paquet[1]) |
|
|
f2.enfiler(self.paquet[val]) |
|
|
#f2.enfiler(self.paquet[val]) |
|
|
print(f1, f2) |
|
|
print(f1, f2) |
|
|
|
|
|
|
|
|
class Joueur: |
|
|
class Joueur: |
|
|