iced/examples/game_of_life
Héctor Ramón Jiménez 76698ff2b5
Make Command implementations platform-specific
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.

Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
..
src Make Command implementations platform-specific 2021-09-02 13:29:34 +07:00
Cargo.toml Update tokio to 1.0 2021-01-04 23:20:21 +01:00
README.md Update game_of_life capture 2020-11-26 16:36:56 +01:00

Game of Life

An interactive version of the Game of Life, invented by John Horton Conway.

It runs a simulation in a background thread while allowing interaction with a Canvas that displays an infinite grid with zooming, panning, and drawing support.

The main file contains the relevant code of the example.

You can run it with cargo run:

cargo run --package game_of_life