#bit #emoji #lifegame

app lifegame

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

8 releases

Uses new Rust 2024

new 0.3.4 May 1, 2025
0.3.3 Apr 18, 2025
0.2.1 Nov 16, 2023
0.1.1 Nov 14, 2023

#357 in Command line utilities

Download history 1/week @ 2025-03-12 560/week @ 2025-04-16 15/week @ 2025-04-23

575 downloads per month

MIT license

32KB
938 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–14MB
~202K SLoC