0x646e78 / gameoflife-js

Learning JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conway's Game of Life in JavaScript

CircleCI Known Vulnerabilities

The Rules of Life

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Setup

npm install

Testing

npm run test

npm run test:watch

About

Learning JS


Languages

Language:JavaScript 90.9%Language:HTML 6.0%Language:CSS 3.1%