gamerule from guidelines

This commit is contained in:
Guillaume BONABAU 2024-04-03 16:48:16 +02:00
parent 3caaff7b26
commit 086c7a1072
1 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,11 @@
Reminder of game of life rules: Reminder of game of life rules:
-Any live cell with fewer than two live neighbors dies, as if by underpopulation. 1. Any living cell with strictly fewer than two living neighbors dies (referred to
-Any live cell with two or three live neighbors lives on to the next generation. as underpopulation or exposure).
-Any live cell with more than three live neighbors dies, as if by overpopulation. 2. Any living cell with strictly more than three living neighbors dies (referred to
-Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction. 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.