Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yovanoc/gameoflife
Game of Life made with ReactJS
https://github.com/yovanoc/gameoflife
Last synced: about 1 month ago
JSON representation
Game of Life made with ReactJS
- Host: GitHub
- URL: https://github.com/yovanoc/gameoflife
- Owner: yovanoc
- License: mit
- Created: 2017-12-09T15:18:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T09:13:00.000Z (over 6 years ago)
- Last Synced: 2023-02-28T08:32:51.473Z (almost 2 years ago)
- Language: JavaScript
- Size: 223 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Game of Life made with ReactJS
# How to use
Simply:
```
ReactDOM.render(
,
document.querySelector('.gameoflife-shell')
);
```Where:
| attribute | value |
| --- | --- |
|`worldSize`| amount of cells |
|`squareSize`| cell size |
|`generationSpeed`| milliseconds to parse the next generation |
|`population`| amount of lifes |
|`gliderGun`| print Glider Gun (the world size will be adjusted to fit the Glider Gun) |# Example
[Glider Gun example](http://codepen.io/filipemeneses/pen/YqByjG)