Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kumom/conways
Yet another Conway's game of life (torus grid)
https://github.com/kumom/conways
conways-game es6 html scss vanilla-javascript
Last synced: 15 days ago
JSON representation
Yet another Conway's game of life (torus grid)
- Host: GitHub
- URL: https://github.com/kumom/conways
- Owner: kumom
- License: mit
- Created: 2019-10-08T22:43:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T11:30:55.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T16:40:11.730Z (2 months ago)
- Topics: conways-game, es6, html, scss, vanilla-javascript
- Language: JavaScript
- Homepage: https://kumom.io/conways/
- Size: 1.22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conways's Game of Life
With my limited knowledge of css, I think the grid layout (by setting `grid-auto-columns` and `grid-auto-rows` to `1fr`) can be used as a hacky way to implement the infinite field. But since I am using a bunch of `` elements to represent the cells, it would be super slow anyway. [The demo implemented by copy](https://github.com/copy/life) looks amazing and I hope to have time to look deeper into that later.
Lots of other cool features can be added (say generate a new game by different patterns), but I currently don't have time for that. Still I hope you enjoy this minimal demo!