Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loganintech/game-of-life
This is a version of Conway's game of life written in Rust w/ Piston. It's inefficient and crappy. I'm trying to learn how to improve it. Bear with me.
https://github.com/loganintech/game-of-life
Last synced: about 22 hours ago
JSON representation
This is a version of Conway's game of life written in Rust w/ Piston. It's inefficient and crappy. I'm trying to learn how to improve it. Bear with me.
- Host: GitHub
- URL: https://github.com/loganintech/game-of-life
- Owner: loganintech
- Created: 2018-03-18T09:07:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-08T06:31:06.000Z (over 5 years ago)
- Last Synced: 2024-10-18T06:51:47.895Z (3 months ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
## Intro
Conway's game of life is a cellular automation game designed by John Horton Conway in 1970. It takes no user input beyond a starting configuration. At this point, that's hard-coded. That's the next thing I have to work on.
## Rules
* Any live cell with fewer than two live neighbors dies from underpopulation
* Any live cell with two or three neighbors lives on
* Any live cell with more than three neighbors dies from overpopulation
* Any dead cell with three live neighbors is born again## Run
You can run with
~~~
cargo run
~~~## Usage
```
Enter - Play/PauseClick - Change Square State
Scroll Wheel - Change Update Speed
```## Demo
![](https://i.imgur.com/oAKze58.gif)