Skip to content
Snippets Groups Projects
Commit d21a8771 authored by diallo's avatar diallo
Browse files

Mise à jour des fonctions dans Plateau et Véhicule

parents 15b831b8 64ce4a77
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,18 @@ class Plateau():
Exemple(s) :
$$$
"""
<<<<<<< HEAD
def __init__(self):
=======
def __init__(self,taille:int,liste_vehicule:list[str]):
>>>>>>> 64ce4a778c741cb9288abea096edc173efe02ad2
""" Initialise le plateau de la grille
Précondition :
Exemple(s) :
$$$
"""
<<<<<<< HEAD
self.taille=(6,6)
self.liste_vehicule=[]
GRILLE_VIDE=[[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' ']]
......@@ -87,5 +92,10 @@ class Plateau():
=======
self.taille=taille
self.liste_vehicule=liste_vehicule
def __initialiser_grille__(
>>>>>>> 64ce4a778c741cb9288abea096edc173efe02ad2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment