Game of Life Model Documents
This material has 2 associated documents. Select a document title to view a document's information.
The EJS Game of Life Model simulates a popular 2D cellular automata of a lattice in a finite state which is updated in accordance with a set of nearby-neighbor rules. The universe of the Game of Life, developed by John Conway, is a two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. Every cell interacts with its eight neighbors to determine if it will live or die (generally when there are too many live neighbors or not enough live neighbors) in the next time step. You can clear the lattice, design initial configurations (click on a cell to toggle between dead/live), and change the lattice size.
Last Modified January 15, 2009
Source Code Documents
The source code zip archive contains an XML representation of the Game of Life Model. Unzip this archive in your EJS workspace to compile and run this model using EJS.
Published January 15, 2009