The game's logic was mainly inspired by this gist : https://gist.github.com/bsolomon1124/8e328b792ad1f36789fc8a56b05dcb95 Thanks to its author.
- Any live cell with fewer than 2 neighbors dies (Underpopulation)
- Any live cell with 2 or 3 neighbors stays alive (Survival)
- Any live cell with more than 3 neighbors dies (Overpopulation)
- Any live cell with exactly three neighbors becomes alive (Reproduction)