Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/Pause

Click - Change Square State

Scroll Wheel - Change Update Speed
```

## Demo

![](https://i.imgur.com/oAKze58.gif)