gol_grid 0.1.6 gol_grid: ^0.1.6 copied to clipboard
A widget showing a controllable square grid of cellular automata.
GolGrid #
A GolGrid
is a flutter widget showing
a GridWorld
controlled by a Thumper
.
I.e. it's Conway's Game of Life in a flutter widget.
The widget iterates through evolutionary steps of
a given world via the Thumper
.
Example #
The example iterates through steps in a world with a lightweight spaceship cruising below an R-pentomino.
initial | playing |
---|---|
Install flutter (for chrome demo, use beta channel flutter), then
# Confirm you have some devices.
flutter devices
# Get the code
git clone git@github.com:monopole/gol_grid.git
cd gol_grid
# then either
make demo-chrome
# or
make demo-android