#emoji #bit #lifegame

app lifegame

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

7 releases

Uses new Rust 2024

new 0.3.3 Apr 18, 2025
0.3.2 Apr 18, 2025
0.2.1 Nov 16, 2023
0.1.1 Nov 14, 2023

#562 in Command line utilities

MIT license

32KB
946 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
r Reset world
p Toggle pause
q Quit the game

Dependencies

~5–15MB
~203K SLoC