| Crates.io | rust-life |
| lib.rs | rust-life |
| version | 0.6.0 |
| created_at | 2016-01-06 03:47:27.051788+00 |
| updated_at | 2025-01-30 03:02:36.298315+00 |
| description | An implementation of Conway's Game of Life. |
| homepage | |
| repository | https://github.com/crazymykl/rust-life |
| max_upload_size | |
| id | 3836 |
| size | 110,590 |
Conway's Game of Life, in Rust
cargo install rust-life
Usage: rust-life [OPTIONS]
Options:
-c, --cols <COLS>
Number of columns of in the board [default: 640]
-r, --rows <ROWS>
Number of rows of in the board [default: 400]
-t, --template <TEMPLATE>
A board template string
-a, --align <ALIGN>
Alignment of the template within the world [default: center] [possible values: top-left, top, top-right, left, center, right, bottom-left, bottom, bottom-right]
-p, --padding <PADDING>...
Custom padding around template, takes 1 to 4 values (overrides alignment)
-g, --generations <GENERATIONS>
Number of generations to advance the template for the initial pattern
-G, --generation-limit <GENERATION_LIMIT>
Number of generations to display before stopping (runs forever if not given)
-s, --scale <SCALE>
Scale factor (pixels per cell side) [default: 2]
-x, --exit-on-finish
Close GUI window after final generation
--no-gui
Disable GUI
-u, --ups <UPS>
Updates per second (target) [default: 120]
-h, --help
Print help
-V, --version
Print version