TP3 afficher_jeu Limite de largeur
This commit is contained in:
parent
c26cb355eb
commit
01489692ad
|
@ -299,6 +299,8 @@ def afficher_jeu(jeu):
|
|||
|
||||
CU : aucune
|
||||
"""
|
||||
if jeu['plateau']['larg'] > 30:
|
||||
return
|
||||
for x in range(1, jeu['plateau']['larg']+1):
|
||||
for y in range(1, jeu['plateau']['haut']+1):
|
||||
if (x, y) in jeu['coups_joues']:
|
||||
|
|
Reference in a new issue