Simulation: Conway's Game of Life

Professor Parse

In this chapter, you'll watch Conway's Game of Life, where nobody is playing. The big idea is a simulation: a few small rules applied to every cell, one generation at a time, from a clock instead of a controller, until something surprising (like a glider) shows up.

I'm still writing this chapter, step by step. In the meantime, you can play the finished game, and read the code and the assets that make it, so that you can run it and change it yourself.

Play the Game

The code that makes it:

The assets, which go in an assets folder next to the game: