RIP James Conway.
Try the demo at https://jeswinsimon.github.io/game-of-life
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.
The game is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves. It is Turing complete and can simulate a universal constructor or any other Turing machine.
-- Wikipedia
This was hacked together overnight using React and p5.js with the help of the below resources.
- The overall design is inspired by this version created by Edwin Martin.
- This tutorial on integrating p5.js with React.
- The basic gameplay algorithm is from The Game of Life example on p5js.org.
- Special Thanks to Jikku Jose for the challenge.