Conway’s Game of Life Simulator

Conway’s Game of Life Simulator

Rules:

  1. Any live cell with fewer than two live neighbors dies, as if caused by under-population.
  2. Any live cell with two or three live neighbors lives on to the next generation.
  3. Any live cell with more than three live neighbors dies, as if by overcrowding.
  4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

source: wikipedia

Controls:

[P] = play/pause
[R] = reset
[space] = step

 

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge