gridworld
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], then
# confirm you have some devices.
flutter devices
# get the code
git download [email protected]:monopole/gol_grid.git
cd gol_grid
flutter test
cd 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 run
Comments are closed.