The open source version of an Asteroids-ish game made for WearOS using the Flame Engine and Flutter.
Project initially generated with the Very Good CLI.
Using Flame Engine on top of Flutter.
Score and game state is managed by the Bloc library.
This code was written on a ridiculous rush, since I challenged myself to start and finish it within a weekend. There are almost no tests, few docs and the code could be better organized. This is not how good software should be made, but it is okay for this gimmick (I guess).
See my tweet about this here.
- See how to run on a watch device here.
- This also runs on android devices, but it's not optimized for it.
This project contains 3 flavors:
- development
- staging
- production
To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:
# Development
$ flutter run --flavor development --target lib/main_development.dart
# Staging
$ flutter run --flavor staging --target lib/main_staging.dart
# Production
$ flutter run --flavor production --target lib/main_production.dart