lifegame

Crates.iolifegame
lib.rslifegame
version
sourcesrc
created_at2023-11-13 22:43:50.458264+00
updated_at2025-05-07 20:41:51.169026+00
descriptionA simple implementation of the classic cellular automaton, Conway's Game of Life.
homepage
repositoryhttps://github.com/Lingxuan-Ye/lifegame
max_upload_size
id1034143
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`
size0
Lingxuan Ye (Lingxuan-Ye)

documentation

README

LifeGame

Crates.io License

A simple implementation of the classic cellular automaton, Conway's Game of Life.

Installation

cargo install lifegame

Usage

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

Keymap

Key Action
j Slow down by half
k Speed up by twice
r Reset world
p Toggle pause
q Quit the game
Commit count: 0

cargo fmt