Skip to content

lucassalazar/react-game-of-life

Repository files navigation

Description

This is an implementation of Conway's Game of Life built with React.

Goal

  • Play with React Hooks
  • Play with TailwindCSS
  • Apply memoization technique to avoid unnecessary renders

Game of Life

  • Any live cell with fewer than two live neighbors dies, as if by underpopulation.
  • 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.

Setup

  • npm install
  • npm run dev

About

An implementation of the Game of Life using React, TypeScript and TailwindCSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published