John Conway, a British Mathematician, created the Game of Life in 1970. It is a zero-player game simulating cellular multiplication.
This project was interesting to code and presented the challenge of neighbor awareness on a 2D grid.
The rules are as follows:
1. If a cell has less than two neighbors, it dies by underpopulation.
2. If a cell has exactly two or three neighbors, it survives to the next generation.
3. If a cell has more than three neighbors, it dies by overpopulation.
4. If an empty tile has three live neighbors, a new cell is born.
John Conway, a British Mathematician, created the Game of Life in 1970. It is a zero-player game simulating cellular multiplication.
This project was interesting to code and presented the challenge of neighbor awareness on a 2D grid.
The rules are as follows:
1. If a cell has less than two neighbors, it dies by underpopulation.
2. If a cell has exactly two or three neighbors, it survives to the next generation.
3. If a cell has more than three neighbors, it dies by overpopulation.
4. If an empty tile has three live neighbors, a new cell is born.
Made with