#conway #cellular-automata #game-of-life #conway-game-of-life #cellular-conway #classic-game #emoji

app lifegame

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

22 releases

Uses new Rust 2024

new 0.3.18 Apr 8, 2026
0.3.17 Jan 16, 2026
0.3.14 Dec 31, 2025
0.3.12 Oct 20, 2025
0.2.1 Nov 16, 2023

#663 in Command line utilities

MIT license

31KB
929 lines

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

Dependencies

~4.5–9.5MB
~201K SLoC