liveBook · Manning

Game of Life

Conway's Game of Life is a cellular automaton in which cells on a grid change state across discrete generations according to fixed rules based on neighboring cells.

How 2 Manning books explain it

Fast Python: High performance techniques for large datasets

How it is used
Uses the cellular automaton to motivate optimized access to neighboring array elements in Cython.
How deep it goes
Defines cell rules and wraparound boundaries, then develops a colored variant and discusses parallelism and scaling.
Examples
Shows an oscillator, a stable box, extinction, four-color QuadLife, and spaceship simulations.
What you can do after
Build a Cython-backed simulation that advances a grid for a chosen number of generations.

Read how Fast Python: High performance techniques for large datasets explains Game of Life →

Fabulous Adventures in Data Structures and Algorithms

Life is Conway's Game of Life, a two-dimensional cellular automaton whose cell states evolve according to neighboring-cell rules.

How it is used
Frames Life as a recreational programming problem and a test case for alternative algorithms and compact data structures.
How deep it goes
Defines local transition rules and surveys pattern behavior, then stops before implementing the beginner or HashLife algorithms.
Examples
Uses death from loneliness, still lifes, the blinker, the glider, guns, and digital-circuit patterns as concrete examples.
What you can do after
Evaluate Life generations by applying neighbor-count rules and recognizing still, oscillating, and moving patterns.

Read how Fabulous Adventures in Data Structures and Algorithms explains Game of Life →

Also covered in

Related concepts

Questions about Game of Life

What is Game of Life?

Conway's Game of Life is a cellular automaton in which cells on a grid change state across discrete generations according to fixed rules based on neighboring cells.

Which Manning books explain Game of Life?

Fast Python: High performance techniques for large datasets and Fabulous Adventures in Data Structures and Algorithms.

What kinds of Game of Life are there?

Kinds of Game of Life include QuadLife.

What is Game of Life a kind of?

Game of Life is a kind of cellular automaton. A cellular automaton is a discrete computational model whose cells update their states synchronously according to local transition rules.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.