Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Latest commit

 

History

History

life

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
layout title permalink redirect_from machines styles
page
"Game of Life" Demo
/devices/leds/life/
/devices/life/demo/
id type name config
lifeDemo
leds
Game of Life Demo
life.json
_lifeDemo _displayLife _diagsLife _printLife
position display float margin-right margin-bottom
relative;
inline-block;
left;
32px;
16px;
position
relative;
float
left;
font-family
Monaco,"Lucida Console",monospace;

"Game of Life" Demo

Using PCjs Devices, here's a simple demo of John Conway's "Game of Life", using an grid of simulated LEDs. Red, Blue, or any other LED color can be specified in the URL.

There is also a "Game of Life" Color Demo that allows you to change LED colors.

Game of Life

{% include machine.html id="lifeDemo" config="json" %}

Run Step Reset Clear Stopped None Save to URL
<textarea id="printLife" cols="78" rows="16" spellcheck="false"></textarea>