Conway's Game of Life — visual WASM plugin demo for fledge.
Runs an animated Game of Life simulation directly in your terminal via the fledge plugin system. The board is seeded with an R-pentomino, two gliders, and an LWSS (lightweight spaceship) and evolves for 80 generations with real-time ANSI rendering.
fledge plugins install corvid-agent/fledge-plugin-lifefledge lifeThe simulation renders a 50x25 board at ~8 fps, using box-drawing borders and block characters for live cells. The cursor is hidden during playback and restored on completion.
Requires Rust with the wasm32-wasip1 target:
rustup target add wasm32-wasip1
cargo build --target wasm32-wasip1 --releaseThe compiled WASM binary is written to
target/wasm32-wasip1/release/fledge-plugin-life.wasm.
cargo testThe test suite covers the core game logic: neighbor counting, B3/S23 rules, still lifes (block), oscillators (blinker), spaceships (glider), birth, death, pattern placement, and out-of-bounds clipping.
See plugin.toml for the fledge-v1 protocol manifest. This plugin requires
no capabilities (no filesystem, network, exec, or store access).
MIT