Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.08 KB

File metadata and controls

28 lines (18 loc) · 1.08 KB

Conway's game of life with React Hooks and Canvas

screenshot

This repo contains Conway's game of life implemented with React Hooks. The board is rendered on <canvas> and in memory is represented as a 1D array (for performance). The app also can parse .rle files for easier brush library management. You can play around with the game here.

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build