Skip to content

3nvy/gol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway`s Game of Life in React

This project is a representation of Conway's the Game of Life. You can check the project running at https://3nvy.github.io/gameoflife/

Game Rules

Any live cell with fewer than two live neighbours dies, as if by underpopulation.

Any live cell with two or three live neighbours lives on to the next generation.

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.

Infinite Canvas

By making use of an infinite canvas, you can create complex patterns and let them run indefinitely w/t being bound to a finite space.

Controls

Mouse Right-Click - Adds/Removes cells

Mouse Left-Click-Drag - Moves around the canvas offset

Zoom Slider - Controls the canvas zoom level

Speed Slider - Controls the speed at which the game is played

Start/Stop button - Controls the game active status

Load Pattern - Loads a pre-defined pattern into the board from an RLE file

Tech Stack

React

Redux-toolkit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors