game of life rules in readme

This commit is contained in:
Guillaume BONABAU 2024-04-03 16:39:49 +02:00
parent 0e7ed7ae15
commit 3caaff7b26
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
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. -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 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 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. -Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.