3. A dead cell becomes alive in the next generation if it has exactly three neighboring cells, no more or fewer, that are already alive. All other dead cells remain dead in the next generation 4. All births and deaths take place at exactly the same time, so that a dying cell can help to give birth to another but cannot prevent the death of others by reducing overcrowding, nor can cells being born either preserve or kill cells living in the previous generation
3. A dead cell becomes alive in the next generation if it has exactly three neighboring cells, no more or fewer, that are already alive. All other dead cells remain dead in the next generation. 4. All births and deaths take place at exactly the same time, so that a dying cell can help to give birth to another, but cannot prevent the death of others by reducing overcrowding, nor can cells being born either preserve or kill cells living in the previous generation
Life: Examples and outline 00 00000 2 111 02120 111 2 00000 00 Life: moribund examples
Life: Examples and Outline Life: moribund examples
000000 023320 023320 2 000000 Life: stability examples
Life: stability examples
00 02 0 next 12 03230 generation 0000 1232 2 1232 0000 12 20 0 0 1110 Life: alternation examples
next generation Life: alternation examples
Set up a Life configuration as an initial arrangement of living and dead cells While the user wants to see further generations: Update the configuration by applying the rules of the life game Print the current configuration
Set up a Life configuration as an initial arrangement of living and dead cells. While the user wants to see further generations: Update the configuration by applying the rules of the Life game. Print the current configuration