summaryrefslogtreecommitdiffstats
path: root/examples/game_of_life/README.md
blob: 5741cbf665c56390dabbac873fb2c59356d2ce05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Game of Life

An interactive version of the Game of Life, invented by John Conway, implemented
on top of a `Canvas` widget and other controls.

The __[`main`]__ file contains the relevant code of the example.

<div align="center">
  <a href="https://gfycat.com/briefaccurateaardvark">
    <img src="https://thumbs.gfycat.com/BriefAccurateAardvark-size_restricted.gif">
  </a>
</div>

You can run it with `cargo run`:
```
cargo run --package game_of_life
```

[`main`]: src/main.rs