Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 682 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 682 Bytes

Game of Life

This is an Android application simulating the Game of Life automaton.

The rules for the Game of Life can be found at the link:

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Basically, it is suposed to simulate generations of life cells, based in the following rules for each generation.

1 - Any live cell with fewer than two live neighbours dies, as if caused by under-population.

2 - Any live cell with two or three live neighbours lives on to the next generation.

3 - Any live cell with more than three live neighbours dies, as if by over-population.

4 - Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.