nxtbz / js-game-of-life

Conway's Game of Life in Javascript

Home Page:https://dboucken.github.io/js-game-of-life/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. Every step of the simulation a new 2-dimensional array is created without modifying the current one.

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

About

Conway's Game of Life in Javascript

https://dboucken.github.io/js-game-of-life/

License:MIT License


Languages

Language:JavaScript 84.5%Language:HTML 15.5%