/conway

Conway's Game of Life

Primary LanguageRGNU General Public License v3.0GPL-3.0

Conway's Game of Life

Rules

  1. Any live cell with two or three neighbors survives.
  2. Any dead cell with three live neighbors becomes a live cell.
  3. All other live cells die in the next generation. Similarly, all other dead cells stay dead.

Reference

https://en.wikipedia.org/wiki/Conway's_Game_of_Life#Rules