Update 8tours_et_globale.py

This commit is contained in:
lucieho 2017-03-08 11:58:39 +01:00 committed by GitHub
parent 626a5b9ece
commit a0fa24634a
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ def partie8tours((x,y),Grille): #x, y sont les coordonnées du joueur
if (0 <= x+i and x+i < len(Grille)) and (0 <= y+j and y+j < len(Grille[0])) and (x,y)!=(0,0): if (0 <= x+i and x+i < len(Grille)) and (0 <= y+j and y+j < len(Grille[0])) and (x,y)!=(0,0):
partie1v1 ((x,y), (x+i,y+j)) partie1v1 ((x,y), (x+i,y+j))
def partie_globale(Grille): def partie_globale():
""" Grille -> Grille""" """ -> Grille"""
global HistoriqueGrilles global HistoriqueGrilles
HistoriqueGrilles += [Grille] HistoriqueGrilles += [Grille]