leonardoalemax / life

game of life in react

Home Page:https://leonardoalemax.github.io/life/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of Life

This is my implementation in react using react hooks of John Conway's game of life.

Each step runs a set of 3 simple rules:

  • Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  • Any live cell with more than three live neighbours dies, as if by overpopulation.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

life

You can see it running here!

To Run It

Clone project, install the dependencies and run it.

$ yarn install
$ yarn start

About

game of life in react

https://leonardoalemax.github.io/life/


Languages

Language:TypeScript 88.8%Language:HTML 9.3%Language:CSS 1.9%