@ -1,5 +1,5 @@
from bataille import *
from pile import Pile_lst
from lib.Pile import Pile_lst
def bataille():
tour = 1
@ -15,4 +15,4 @@ def bataille():
valeur_carte_j2 = j2.tire_carte()
p_j1.empile(valeur_carte_j1)
p_j2.empile(valeur_carte_j2)
p_j1.sommet().compare(p_j2.sommet)
from random import *
from File import File_lst as File
from lib.File import File_lst as File
class Carte:
def __init__(self, valeur, couleur):
@ -43,4 +43,4 @@ class Joueur:
def tire_carte(self):
self.derniere_carte = self.paquet_j.defiler()
return self.derniere_carte