A little snake game written in Dart.
Right now this package provides a working game interface along with a small map editor for generating your own maps. It also provides a few classes that abstract working with the canvas and processing the internal game state.
The code was developed using the Dart 2.1.0 SDK. Earlier versions may work, but are not guaranteed to work.
To get started, run the following
pub get
webdev serve
If all builds well, you can point your browser to localhost:8080
and the game should run there.
The following (non-exhaustive) list is still to do:
- Use the
GameMap.isCompatible()
method inmain.dart
to actually check if the map we're loading is compatible with the canvas size we're playing on.