gol_grid 0.2.0 copy "gol_grid: ^0.2.0" to clipboard
gol_grid: ^0.2.0 copied to clipboard

A widget showing a controllable square grid of cellular automata.

GolGrid #

Conway's Game of Life in a flutter widget.

A GolGrid is a rendering of a GridWorld controlled by a Thumper.

Example #

The example contains two alternatives.

One uses several relatively small widgets in a scrollable column, suitable for a browser:

movie web

The other does a media query to do a full screen demo with a complex world (four Gosper guns and an R-pentomino), more suitable for android:

movie android

To run the examples, install flutter (for demo-web demo, use beta channel flutter), then

# Confirm flutter installed and devices available.
flutter devices

# Get the code
git clone git@github.com:monopole/gol_grid.git
cd gol_grid

# then either
make demo-android # needs USB connected device
# or
make demo-web # needs chrome
1
likes
140
pub points
0%
popularity

Publisher

verified publisherorangebike.dev

A widget showing a controllable square grid of cellular automata.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, flutter_bloc, grid_world, meta, thumper

More

Packages that depend on gol_grid