In the Game of Life, a population of cubes evolves over time. In each generation, whether a cube lives or dies depends on its neighbors.
More specifically, choose four numbers a, b, c, and d. Here's the breakdown:
- If a living cube has between a and b neighbors, it stays alive to the next generation. Otherwise it dies (by over- or underpopulation.)
- If an empty cell has between c and d neighbors, it becomes alive in the next generation (by reproduction).
Each cube can have between 0 and 26 neighbors.