Conway's Game of Life
This is the simplest version of Conway's Game of Life that you will make during our session. This simulation follows a few simple rules:
- A cell with 1 or 0 neighbors will die, as if of loneliness.
- A cell with 4 or more neighbors will die, as if from overpopulation.
- A cell with 2 or 3 neighbors happily survives :)
- If an empty cell has 3 neighbors, a new cell is born!
Below, we can see this in action... (refresh for a new starting configuration)
What we will do in the session...
- Join CodeHS class for this session
- Program the Game of Life from a basic starter program in Javascript in the sandbox
- Complete bounty challenge activities by modifying the program or analyzing patterns in our organisms
- Discuss potential applications of this technique (cellular automata, wave function collapse, etc.)
- Based on interest, I intend to continue teaching concepts in Cellular Automata, with a fun physics game being the next goal and a randomly generated adventure game as the final goal. These are ideas I'd like to explore in future Flex Fridays :)