Crates.io | lifegame |
lib.rs | lifegame |
version | |
source | src |
created_at | 2023-11-13 22:43:50.458264+00 |
updated_at | 2025-05-07 20:41:51.169026+00 |
description | A simple implementation of the classic cellular automaton, Conway's Game of Life. |
homepage | |
repository | https://github.com/Lingxuan-Ye/lifegame |
max_upload_size | |
id | 1034143 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A simple implementation of the classic cellular automaton, Conway's Game of Life.
cargo install lifegame
Create a world with 80×100 cells:
lifegame --nrows 80 --ncols 100
Apply classic Matrix-style filter:
lifegame --filter bit
Emojify the world:
lifegame --filter emoji
Get help:
lifegame --help
Key | Action |
---|---|
j |
Slow down by half |
k |
Speed up by twice |
r |
Reset world |
p |
Toggle pause |
q |
Quit the game |