/js-game-of-life

Conway's Game of Life in Javascript

Primary LanguageJavaScriptMIT LicenseMIT

Conway's Game of Life in Javascript

JavaScript implementation of Conway's Game of Life. A generation is represented by a 2-dimensional array of booleans.

Press any key to start the simulation. 'C' to clear the board, 'R' for a random generation, or use the mouse to change the board.

Tested with Chrome and Safari on macOS.

Demo