O'Reilly logo

The TAB Book of Arduino Projects: 36 Things to Make with Shields and Proto Shields by Simon Monk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required