I had to replace line 8 in GridMutator.py with:
if not grid[row][col]: return neighbors == 3
else: return neighbors in (2,3)
to make it work. For a Python-newbie, it is not always easy to unserstand, what the parts of the code do. Excellent demonstration anyway!
friedrichsalzmann 1 year ago
Excellent ! ...... Conway's game has been a hit with all budding game programmers ! ..... do you have the links to the source code etc ? ...
Arkapravo 2 years ago
I had to replace line 8 in GridMutator.py with:
if not grid[row][col]: return neighbors == 3
else: return neighbors in (2,3)
to make it work. For a Python-newbie, it is not always easy to unserstand, what the parts of the code do. Excellent demonstration anyway!
friedrichsalzmann 1 year ago
Excellent ! ...... Conway's game has been a hit with all budding game programmers ! ..... do you have the links to the source code etc ? ...
Arkapravo 2 years ago