In these code alongs, we will implement the Game of Life and then generalize our code in order to implement an arbitrary cellular automaton, including Langton’s loop, a beautiful self-replicator. Along the way, we will learn how to work with multi-dimensional arrays and slices and see top-down programming in action.

Follow along to the next lesson to get started!


Love P4❤️? Join us and help share our journey!