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

https://github.com/manighazaee/game_of_life

Conway's Game of Life
https://github.com/manighazaee/game_of_life

conways-game-of-life game-of-life rust

Last synced: 7 months ago
JSON representation

Conway's Game of Life

Awesome Lists containing this project

README

          

# Conway's Game of Life

## Usage

Using executable file or:

```bash
cargo run [GAME_WIDTH] [GAME_HEIGHT] [GAME_TICK_LENGTH]
```

`GAME_WIDTH`: in pixels

`GAME_HEIGHT`: in pixels

`GAME_TICK_LENGTH`: in seconds

## Controls

- Mouse `left-click`: Make cell alive
- Mouse `right-click`: Make cell dead
- key1 ... key6: Heat color
- key0: Turn off heat color
- W: Speed up
- S: Slow down
- C: Clear Screen (make all cells dead)
- Space: Pause
- Escape: Quit