r/FlutterDev • u/Illustrious_Shame717 • Oct 21 '26
Discussion I shipped a puzzle game in Flutter: offline levels from Firestore, a Python level generator, and low-latency audio with SoLoud
I've been building Rillroot, a line puzzle game, in Flutter, and a few parts might be useful to others:
Levels: generated ahead of time by a Python script that checks each board has exactly one solution. They're stored as JSON packs of 100 levels, and a publish script writes a manifest with sha256 hashes and uploads everything to Firestore. The app ships a bundled base pack and caches downloads, so it plays fully offline. A Python Cloud Function generates and publishes the daily puzzles every week.
Audio: flutter_soloud at 48 kHz with a 512-sample buffer (2048 lagged noticeably). Every tile a root crosses plays a pluck one note higher up a pentatonic scale, and a fast drag plays at most the last 3 notes per frame so the sound never trails your finger.
State: Cubits for app-level state, while the board itself stays local and runs on a ticker.
Accounts: every player gets an anonymous Firebase account on first launch; signing in with Google links the same account so nothing is lost.
It's in closed beta on Android, so it takes three quick steps:
- Join the tester group: https://groups.google.com/g/rillroot-testers
- Opt in: https://play.google.com/apps/testing/com.dangasama.garden
- Install: https://play.google.com/store/apps/details?id=com.dangasama.garden
Use the same Google account that's on your phone. If the store page says "not found", wait a few minutes after joining.
Happy to go deeper on any of these.