Suppression du test de debug
This commit is contained in:
parent
d34dcc6ab6
commit
86dad3f228
|
@ -61,10 +61,6 @@ def choisir_tir_1(jeu, res):
|
||||||
def choisir_tir_2(jeu, res):
|
def choisir_tir_2(jeu, res):
|
||||||
x,y= randint(1, jeu['plateau']['larg']), randint(1, jeu['plateau']['haut'])
|
x,y= randint(1, jeu['plateau']['larg']), randint(1, jeu['plateau']['haut'])
|
||||||
|
|
||||||
if len(jeu['coups_joues']) >= jeu['plateau']['larg']*jeu['plateau']['haut']:
|
|
||||||
print('J\'ai tiré partout')
|
|
||||||
raise ValueError
|
|
||||||
|
|
||||||
while (x,y) in jeu['coups_joues']:
|
while (x,y) in jeu['coups_joues']:
|
||||||
x = randint(1, jeu['plateau']['larg'])
|
x = randint(1, jeu['plateau']['larg'])
|
||||||
y = randint(1, jeu['plateau']['haut'])
|
y = randint(1, jeu['plateau']['haut'])
|
||||||
|
|
Reference in a new issue