|
@ -1,5 +1,5 @@ |
|
|
from bataille import * |
|
|
from bataille import * |
|
|
from pile import Pile_lst |
|
|
from lib.Pile import Pile_lst |
|
|
|
|
|
|
|
|
def bataille(): |
|
|
def bataille(): |
|
|
tour = 1 |
|
|
tour = 1 |
|
@ -15,4 +15,4 @@ def bataille(): |
|
|
valeur_carte_j2 = j2.tire_carte() |
|
|
valeur_carte_j2 = j2.tire_carte() |
|
|
p_j1.empile(valeur_carte_j1) |
|
|
p_j1.empile(valeur_carte_j1) |
|
|
p_j2.empile(valeur_carte_j2) |
|
|
p_j2.empile(valeur_carte_j2) |
|
|
p_j1.sommet().compare(p_j2.sommet) |
|
|
p_j1.sommet().compare(p_j2.sommet) |
|
|