Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 816 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 816 Bytes

game-of-life

Created with CodeSandbox https://codesandbox.io/s/focused-sun-gmwgd

html, css grid, vanilla js

  • Any live cell with fewer than two live neighbors dies, as if caused by under population.
  • 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 dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

press space key to see each life iteration

Resources: