| Crates.io | gridlife |
| lib.rs | gridlife |
| version | 0.0.2 |
| created_at | 2025-01-21 21:14:55.914436+00 |
| updated_at | 2025-01-23 21:46:23.638312+00 |
| description | An library to generate and simulate Conways Game of Life cellular automatons |
| homepage | https://github.com/sinon/game-of-life |
| repository | https://github.com/sinon/game-of-life |
| max_upload_size | |
| id | 1525521 |
| size | 33,811 |
Implementation of Conway's Game of Life.
Generate 2d Grid of given size that are empty or contain a random distribution of dead or alive populations.
update_states is then called on the Grid to generate the next grid state based on the rules of Conway's Game of Life.
Package also contains an example Text User Interface (TUI) leveraging gridlife with ratatui, which can be used to run random simulations.
cargo run --features="build-binary"