pixels/examples/conway/README.md
Jay Oster 9de2383712
Fix dependency bloat (#67)
* Move all examples to individual crates

* CI: Add libsdl2

* Use Ubuntu bionic for updated libsdl; 2.0.8

* Clippy

* libudev-dev is a dependency of libsdl2-dev

* Clippy

* Remove unnecessary dev-dependency

* `winit` is actually used in unit tests

* Fix a typo

* Move `simple-invaders` crate
2020-04-13 10:12:18 -07:00

18 lines
356 B
Markdown

# Conway's Game of Life
![Conway's Game of Life](../../img/conway.png)
## Running
```bash
cargo run --release --package conway
```
## Controls
- Mouse: Left click toggles cells, dragging draws lines.
- <kbd>P</kbd>: Toggle pause.
- <kbd>space</kbd>: Frame step (enables pause if not already paused)
- <kbd>R</kbd>: Randomize
- <kbd>escape</kbd>: Quit