Game: match-3 puzzle
SKYFUSE
Fireworks match-3 puzzle
Next milestone: First phone build connected to the game server, then a TestFlight beta
Tech stack and architecture
Built with
| Layer | Technology |
|---|---|
| Game app (iPhone, later Android) | Unity 6 with C#; 2D rendering with lighting and bloom for the fireworks; DOTween for animation |
| Game rules | A separate C# rules library with no Unity code in it, so the same rules run in the app, the testing bot and the server's checker |
| Level-testing bot | A .NET program that plays thousands of games per level to measure difficulty |
| Web | TypeScript with PixiJS for the Daily Sky web puzzle; static pages on Firebase Hosting (not yet online) |
| Server | Node.js and TypeScript (Fastify), planned for Google Cloud Run |
| Database | PostgreSQL for players, coins and purchases; Redis for leaderboards and rate limits |
| Sign-in | Firebase Authentication (anonymous play first; Apple and Google later) and Firebase App Check |
| Payments | In-app purchases through RevenueCat, checked by the server |
| Ads | Google AdMob, rewarded ads only (planned) |
| Art, sound and voice | Generated with Google's AI models (Gemini image models, Veo) and processed by the project's own pipeline in Python; music made by the owner with Suno |
How it fits together
flowchart LR P[Player's iPhone<br/>Unity game] -->|sign-in token| F[Firebase sign-in] P -->|moves, wins, purchases| S[Game server<br/>Node.js] S --> D[(PostgreSQL<br/>coins, progress)] S --> R[(Redis<br/>leaderboards)] S --> V[Replay checker<br/>same rules library] P -->|buy| ST[App Store / Google Play] ST --> RC[RevenueCat] RC -->|purchase confirmed| S W[Daily Sky web page] --> S E[Rules library] -.used by.-> P E -.used by.-> V E -.used by.-> B[Level-testing bot]
The game's rules live in one library that the phone app, the level-testing bot and the server's replay checker all share, and the web version is checked against the same set of recorded games so they never disagree. The phone sends each level's moves to the server, which replays them to confirm the win before it grants coins or stars; the app never adds coins by itself. Purchases go through the App Store or Google Play, are confirmed by RevenueCat, and only then credited by the server. Offers, prices and events are data on the server, so they can be changed without a new app release. Today the server runs on the developer's Mac for testing; putting it online is a planned step.
Services it uses
| Service | What it is for |
|---|---|
| Unity | The game engine the app is built with |
| Google Cloud | Server hosting (planned), database, and the AI models that make the art, sounds and voice |
| Firebase | Player sign-in, app checks, web hosting, analytics, remote settings and crash reports |
| RevenueCat | Handles in-app purchases on both stores and tells the server about them |
| Google AdMob | Player-chosen rewarded ads (planned) |
| Suno | The owner's tool for the music |
| Apple App Store and Google Play | Distribution and payments |
| GitHub | Private code storage |
Quality
- Five checks run before any release candidate: the rules library's tests (over 90% of its code covered; 97% on the last full run), the game app's tests inside Unity, the server and web tests with linting, an iPhone build, and a scan for duplicated content.
- Test counts on the latest runs: 687 game-app logic tests and 212 in-game tests passing, 1,591 server tests passing, 642 recorded games that every copy of the rules must reproduce exactly, and about 490 tests for the art and sound pipeline.
- Live tests run the app against a local copy of the server with the real replay checker (13 of 13 passing).
- Device testing: twelve test builds have been installed and played on the owner's iPhone.
- Asset records: every generated picture and sound has a record of how it was made, and new art must pass a readability and colour check (including colour-blind views) before it is used.
- Scenes and screens are built from code, so every build can be recreated exactly.
Updated 2026-11-23