CHAPTER 27

Conway’s Game of Life

image

Conway’s Game of Life was invented by English mathematician John Horton Conway in 1970. It is a simulation of life as a grid of cells that follow a simple set of rules as they progress through each generation (http://en.wikipedia.org/wiki/Conway’s_Game_of_Life). The simulation will often reach a stable state, or all life vanish after a number of generations. In any case, it’s fascinating to watch the colonies of cells evolve.

This project uses the Arduino and display to give an animated view of the game (Figure 27-1). When the joystick button is pressed or moved in any direction, the animation pauses.

FIGURE ...

Get The TAB Book of Arduino Projects: 36 Things to Make with Shields and Proto Shields now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.