Categories
Uncategorized

Conway’s Game of Life

Here’s a quick-and-dirty implementation of Conway’s Game of Life.

Cells can be selected/deselected by clicking and dragging your mouse. The interface and display were designed for use with a desktop/laptop computer, not a touchscreen mobile device. That is, cells can’t be selected by swiping (but tapping works).

The default selected cells spell my first name, daniel. After selecting cells, click Start to begin the game of life.

The source code is available here (use your browser’s view source).