You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
358 B

2 years ago
import bataille.py
def bataille():
tour = 1
2 years ago
jeux = Jeux()
carte_j1, carte_j2 = jeux.depiler()
while not carte_j1.est_vide() and not carte_j2.est_vide():
if tour == 1:
tour = 2
valeur_carte_j1 = carte_j1.depiler()
valeur_carte_j2 = carte_j2.depiler()
carte_j1.compare(carte_j2)