ben-x9 / cell-simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cell Simulator

A simple ~100 line Game of Life implementation I wrote to demonstrate clean React code with tests.

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

View here

https://ben-x9.github.io/cell-simulator/

Usage instructions

Click cells to make them "alive". Click again to make them "dead".

Press "Next Generation" to generate the next state of the board.

Press "Reset" to clear the board.

To install and run

npm install
npm run dev

To run tests

npm run test

About


Languages

Language:TypeScript 87.3%Language:CSS 8.9%Language:HTML 2.0%Language:Shell 1.9%