diff --git a/ARE-DYNAMIC.py b/ARE-DYNAMIC.py index 04c827b..c7ada8d 100644 --- a/ARE-DYNAMIC.py +++ b/ARE-DYNAMIC.py @@ -464,8 +464,9 @@ def simulation(): for i in range(len(StratsResultats)): for x in range(TailleGrilleX): for y in range(TailleGrilleY): - if - + if Grille[x][y]["strategie"] == i: + + StratsResultats[i][2][Iteration][0] += 1 return Grille