This project is a web implementation of Conway's Game of Life
Repository: https://github.com/lbacik/glife-web
Configure the board's width, height, and cell size. Show grid toggles the cell grid, and Compact changes the layout. The survive and reproduction rules let you choose how many live neighbours a cell needs to survive or for a dead cell to become alive. By default, these rules follow Conway's Game of Life.
Click a cell on the board to toggle it between alive and dead. Use Set initial to copy the current board into the initial-colony editor, or Clear to empty the board.
this button advances the board by one generation — a single step
the play button starts or pauses automatic playback at the interval set in the interval box
The current generation is displayed below the controls, and reset sets its counter back to zero.
Use the initial-colony settings to define a pattern and where it appears on the board:
0 and 1 characters, read from left to right and then top to bottom (1 means alive; 0 means dead). You can enter it directly or choose Load from file.Open this example to see an initial colony in action.
The URL below the settings represents the current configuration and initial colony. Copy it to share the setup, or select add auto play to include automatic playback. If the initial-colony data is too large for a URL, the page displays a warning to send the data as text/plain in a POST request instead.