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

outdated

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
screen shot 1 screen shot 2

Install flutter, then

# Confirm you have some devices.
flutter devices

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

For chrome (at time of writing, requires beta channel flutter):

flutter -d chrome run -t lib/web.dart

For android, plug in your phone, enable dev options and allow file transfer over USB, then:

# See `flutter devices` for possible arguments
flutter -d pixel
1
likes
0
pub points
0%
popularity

Publisher

verified publisherorangebike.dev

A widget showing a controllable square grid of cellular automata.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_bloc, grid_world, test, thumper

More

Packages that depend on gol_grid