lifegame

Crates.iolifegame
lib.rslifegame
version0.3.17
created_at2023-11-13 22:43:50.458264+00
updated_at2026-01-16 19:26:23.392992+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
size48,222
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
p Toggle pause
f Random flip by 1%
r Reset world
q Quit the game
Commit count: 280

cargo fmt