https://github.com/scastiel/lifeee-rs
An implementation of the Game of Life
https://github.com/scastiel/lifeee-rs
game-of-life rust yew
Last synced: 3 months ago
JSON representation
An implementation of the Game of Life
- Host: GitHub
- URL: https://github.com/scastiel/lifeee-rs
- Owner: scastiel
- License: mit
- Created: 2021-11-07T15:41:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-13T19:47:16.000Z (almost 4 years ago)
- Last Synced: 2025-04-07T03:23:40.493Z (6 months ago)
- Topics: game-of-life, rust, yew
- Language: Rust
- Homepage: https://lifeee.netlify.app
- Size: 691 KB
- Stars: 58
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Lifeee](https://lifeee.netlify.app) – An implementation of the Game of Life
I realized this application to keep learning [Rust](https://www.rust-lang.org/), discover the front-end library [Yew](https://yew.rs/), and because I’m a big fan of [John Conway’s Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life). Please consider it always a work-in-progress.
## Features
- Draggable & zoomable **infinite grid**
- Adjustable **speed** of simulation
- Library of **patterns** extracted from the official [Lexicon](https://playgameoflife.com/lexicon)## Work-in-progress features
- Better support for mobile (pinch-and-zoom)
- Sexier view of the pattern library (descriptions, search, etc.)
- Make the view _follow_ the displayed pattern
- Draw your own pattern on the grid
- Compose several patterns in a simulation
- Import & export RLE files## Run locally
To start the application locally, run the following commands:
Use `nightly`:
```
rustup default nightly && rustup update
```Install `trunk` and `wasm-bingen-cli`:
```
cargo install trunk wasm-bindgen-cli
```Add `wasm32-unknown-unknown` target:
```
rustup target add wasm32-unknown-unknown
```Run the application using `trunk`:
```
trunk serve
```## Want to contribute?
Please do 😉
## License
See [LICENSE](https://github.com/scastiel/lifeee-rs/blob/main/LICENSE).