The JSlife project is a software recreation of Conway's 'game of life' using Javascript and DHTML technology.
If a dead cell is surrounded by exactly three living neighbors, it is "born" and is considered "living" at the start of the next turn. If a living cell has two or three living neighbors, it remains "alive" at the start of the next turn. If a living cell has any other number of living neighbors, it "dies" and is considered "dead" at the start of the next turn.
There are several counters shown on the screen to display some performance data if you're interested in how fast your browser runs Javascript. Some implementations extend this idea by giving the cells ages so they will not die immediately if abandoned or overcrowded. However, this implementation does not do this -- cells are bits that are either alive or dead, and they are represented by gray and white squares, respectively.
In this implementation, clicking a cell at any time will reverse its state from living to dead and vice-versa. To start the simulation, click "Start" and it will run until the number of remaining iterations reaches 0. An "iteration" calculates a number of rounds and updates the display to show the results. The most interactive way to run the simulation is to perform one round per iteration (the default) so the screen will update constantly. Because updating the screen is slow, more rounds can be performed between updates by increasing the number of rounds per iteration.
Note that if your screen does not update after every iteration, try setting the delay to a number greater than 0. Additionally, the grid size can be increased by editing the top of the source file. Requirements for running this simulation include a working Javascript and CSS browser, and a fast computer is essential for optimal performance. This simulation has been tested successfully in Mozilla 1.1 (Win32), IE 5.01 (Win32), and IE 4.5 (Mac).
In the most recent version of Life, the license has been changed from the LAF GPL to the GNU GPL.
Version 2.0.0.0: N/A