One of the best known cellular automaton is the "Game of Life", discovered by John Conway in 1970.
The cells are positioned on a field (2-dimensional).
sum values of neighbors |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
... |
new value |
0 |
2 |
1 |
4 |
3 |
+ |
= |
0 |
0 |
0 |
... |
character |
function |
= |
The cell keeps the value. |
+ |
Increments the value of the cell by 1, 9 goes to zero. |
- |
Decrements the value of the cell by 1, 0 stays 0.. |
! |
0 goes to 1, otherwise the value of the cell gets 0. |
? |
The cell gets a random value |
> |
The cell gets the largest value of a neighbour. |
< |
The cell gets the smallest value of a neighbour. |