Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renancaraujo/watchsteroids
The open source version of an Asteroids-ish game made for WearOS using the Flame Engine and Flutter.
https://github.com/renancaraujo/watchsteroids
Last synced: 15 days ago
JSON representation
The open source version of an Asteroids-ish game made for WearOS using the Flame Engine and Flutter.
- Host: GitHub
- URL: https://github.com/renancaraujo/watchsteroids
- Owner: renancaraujo
- License: agpl-3.0
- Created: 2023-01-16T17:44:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T10:56:34.000Z (7 months ago)
- Last Synced: 2024-04-26T21:02:20.478Z (7 months ago)
- Language: Dart
- Size: 10.6 MB
- Stars: 247
- Watchers: 4
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Watchsteroids
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](https://cli.vgv.dev/).
Using Flame Engine on top of [Flutter](https://flutter.rip).
Score and game state is managed by the [Bloc library](https://bloclibrary.dev).
## Bear 🐻 with me
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](https://twitter.com/reNotANumber/status/1614990869685497857).
## Running:
- See how to run on a watch device [here](https://developer.android.com/training/wearables/get-started/debugging#wifi-debugging).
- This also runs on android devices, but it's not optimized for it.This project contains 3 flavors:
- development
- staging
- productionTo run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:
```sh
# 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
```