Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Game of Life JS Model Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Game of Life JS Model 

written by Wolfgang Christian and Francisco Esquembre

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.

The Game of Life JS Model was developed using the Easy Java Simulations (EJS) version 5.  It is distributed as a ready-to-run html page and requires only a browser with JavaScript support.

Published September 5, 2013
Last Modified December 28, 2013

This file has previous versions.

Source Code Documents

Game of Life JS Source Code 

This source code zip archive contains an XML representation of the Game of Life JS Model.   Unzip this archive in your Ejs workspace to compile and run this model using EJS 5.  Although EJS is a Java program, EJS 5 creates a stand alone JavaScript program from this source code.

Last Modified December 28, 2013

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics