Hey guys! Just wanted to share a project I started on today. It's called Conway's Game of Life. It's a grid consisting of cells, and the cells can either be dead or alive.
The rules are simple:
1) Any dead cell with exactly three living neighbors will be brought to life.
2) Any living cell with two or three living neighbors will stay alive.
3) Any living cell with less than two living neighbors will die.
4) Any living cell with more than three living neighbors will die.
You can read more about it on Wikipedia
Forum Archive
Conway's Game of Life
Sebastian
Feb 08, 2014 - 08:01
beer2011
Feb 07, 2014 - 15:06
It's fun and Good old.Thanks.(^^
Matthew
Feb 08, 2014 - 02:04
In all the years I've been using computers I've seen many variations on Conway's, for some reason I was just mesmerized by yours. I couldn't stop messing with it. Thanks!
Matthew
Sebastian
Feb 08, 2014 - 08:01
Thank's guys! Glad you liked it :)
It was as fun to make, as it is to watch how the life develops after each generation.
pavlinb
Mar 12, 2020 - 06:47
I have tried yor code, but I received
for c in self.grid.living_cells():
AttributeError: 'MyScene' object has no attribute 'grid'