4umi.com/web/javascript/conway

# Life according to Conway

## A Javascript interpretation

Initializing
20x20 matters
of life and death.

...

The Game of Life is a cellular automaton and so is perhaps not as interactive as the word "game" suggests. The idea was first dicussed in 1970 by Dr. John Conway, professor of Finite Mathematics at Princeton University.

### The rules

The idea is simple: each cell on a grid is either dead  or alive . In each round or generation the number of live cells is counted among the eight cells that surround each cell, with this consequence:

• if there are two neighbours alive, a cell will remain unchanged: a living cell will live the next round, a dead cell will remain dead;
• if there are three living neighbours, a dead cell will even be reborn;
• with less than two or more than three live neighbours, a cell dies.

Variations exist, but all share the notion that overpopulation and loneliness are equally killing. There has to be a balance, and that is where you come in.