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.
14 lines
412 B
14 lines
412 B
from bataille import *
|
|
|
|
def bataille():
|
|
tour = 1
|
|
jeux = Jeux()
|
|
carte_j1, carte_j2 = jeux.depiler()
|
|
nom = str(input("Entrez votre nom"))
|
|
j1 = Joueur(carte_j1, nom)
|
|
j2 = Joueur(carte_j2, "Bot")
|
|
while not j1.paquet_j.est_vide() and not j2.paquet_j.est_vide():
|
|
valeur_carte_j1 = j1.tire_carte()
|
|
valeur_carte_j2 = j2.tire_carte()
|
|
carte_j1.compare(carte_j2)
|
|
|