gamerule from guidelines

This commit is contained in:
Guillaume BONABAU 2024-04-03 16:48:16 +02:00 committed by balthazar.squinabol
parent bf6afc10f6
commit f1c0f39d9a
1 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,11 @@
Reminder of game of life rules:
-Any live cell with fewer than two live neighbors dies, as if by underpopulation.
-Any live cell with two or three live neighbors lives on to the next generation.
-Any live cell with more than three live neighbors dies, as if by overpopulation.
-Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.
1. Any living cell with strictly fewer than two living neighbors dies (referred to
as underpopulation or exposure).
2. Any living cell with strictly more than three living neighbors dies (referred to
as overpopulation or overcrowding).
3. Any dead cell with exactly three living neighbors will come to life. (Referred to as
spreading or growth)
With the implied additional rules:
4. Any living cell with two or three living neighbors continues to live, unchanged.
5. Any dead cell who doesnt have exactly 3 living neighbors stays dead,
unchanged.