Any live cell with fewer than two neighbors dies of loneliness.
Any live cell with more than three neighbors dies of crowding.
Any dead cell with exactly three neighbors comes to life.
Any live cell with two or three neighbors lives, unchanged, to the next generation.
All births and deaths occur simultaineously. Read more about Game of Life in Wikipedia.
Created in 2005 by Carl Fredrik Abelson. Licensed under GNU General Public License (GPL).
This simulation is written entirely in DHTML and JavaScript. It has been tested on Internet Explorer 5+ and Mozilla Firefox.
Drop me a line on abelson@ieee.org and tell me what you think of it.