#85 — The Game of Life
Back
In this coding challenge, I attempt to code Conway’s Game of Life cellular automata simulation in JavaScript using the p5.js library.
Wikipedia page with background and references on Conway's Game of Life.
Scientific American article on Conway's Game of Life.
This video covers the Game of Life 2D cellular automaton in Processing (Java).
In this video, I demonstrate how to create, initialize, and use the 2D arrays in JavaScript with nested for loops.
Golan Levin visits the Coding Train studio for a tutorial about the modulo operator.