In this coding challenge, I attempt to code Conway’s Game of Life cellular automata simulation in JavaScript using the p5.js library.

Support this channel on Patreon:
To buy Coding Train merchandise:
To Support the Processing Foundation:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
Conway’s Game of Life on Wikipedia:
Mathematical Games:

Videos mentioned in this video:
My Video on The Game of Life:
2D Arrays in JavaScript:
The Modulo Operator with Golan Levin:

Source Code for the all Video Lessons:


For an Introduction to Programming:
For More Coding Challenges:

Help us caption & translate this video!