TP3 cree_plateau
This commit is contained in:
parent
4a9f252e67
commit
185a95bd31
|
@ -194,6 +194,9 @@ def cree_plateau(l, h, l_nav):
|
||||||
|
|
||||||
CU : les dimensions doivent permettre le placement de tous les navires
|
CU : les dimensions doivent permettre le placement de tous les navires
|
||||||
"""
|
"""
|
||||||
|
esp = {'larg': l, 'haut': h}
|
||||||
|
for nav in l_nav:
|
||||||
|
placer(esp, nav)
|
||||||
|
|
||||||
def cases_du_navire(nav, pos, disp):
|
def cases_du_navire(nav, pos, disp):
|
||||||
"""
|
"""
|
||||||
|
|
Reference in a new issue