| Crates.io | lifegame |
| lib.rs | lifegame |
| version | 0.3.17 |
| created_at | 2023-11-13 22:43:50.458264+00 |
| updated_at | 2026-01-16 19:26:23.392992+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 |
| size | 48,222 |
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 |
p |
Toggle pause |
f |
Random flip by 1% |
r |
Reset world |
q |
Quit the game |