Loading...
Uploaded by dcbriccetti on Dec 23, 2009
A very quick look at version 2 of our Jython implementation of Conway's Game of Life. Source code: http://davebsoft.com/cfkfiles/python/Life2/
Science & Technology
Standard YouTube License
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
Load more suggestions
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