Template:Game of Life/doc

Use this template to create an interactive, JavaScript-based widget of Conway's Game of Life.

Usage
Calling this template with no parameters inserts an empty instance of the game. To make it more interesting, specify some initial conditions. For example:

Template data
{	"params": { "autoplay": { "label": "Autoplay", "description": "Start the game as soon as it loads", "example": "yes", "type": "boolean" },		"width": { "label": "Width", "description": "Width of the widget, in pixels", "example": "600px", "type": "string", "default": "400px" },		"height": { "label": "Height", "description": "Height of the widget, in pixels", "example": "400px", "type": "string", "default": "300px" },		"zoom": { "label": "Zoom", "description": "Initial zoom of the widget", "example": "4", "type": "number", "default": "1" },		"grid": { "label": "Grid", "description": "Enable the grid by default", "example": "yes", "type": "boolean" },		"cells": { "label": "Cells", "description": "Coordinates of the live cells in the starting position", "type": "string", "example": "0,0; 0,1; 0,-1; -1,0; 1,1" }	},	"description": "Use this template to create an interactive widget of Conwat's Game of Life.", "format": "block" }