Skip to content

Game: match-3 puzzle

SKYFUSE

Fireworks match-3 puzzle

In development48%28 of 58 launch items done

Next milestone: First phone build connected to the game server, then a TestFlight beta

Tech stack and architecture

Built with

LayerTechnology
Game app (iPhone, later Android)Unity 6 with C#; 2D rendering with lighting and bloom for the fireworks; DOTween for animation
Game rulesA 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 botA .NET program that plays thousands of games per level to measure difficulty
WebTypeScript with PixiJS for the Daily Sky web puzzle; static pages on Firebase Hosting (not yet online)
ServerNode.js and TypeScript (Fastify), planned for Google Cloud Run
DatabasePostgreSQL for players, coins and purchases; Redis for leaderboards and rate limits
Sign-inFirebase Authentication (anonymous play first; Apple and Google later) and Firebase App Check
PaymentsIn-app purchases through RevenueCat, checked by the server
AdsGoogle AdMob, rewarded ads only (planned)
Art, sound and voiceGenerated 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

ServiceWhat it is for
UnityThe game engine the app is built with
Google CloudServer hosting (planned), database, and the AI models that make the art, sounds and voice
FirebasePlayer sign-in, app checks, web hosting, analytics, remote settings and crash reports
RevenueCatHandles in-app purchases on both stores and tells the server about them
Google AdMobPlayer-chosen rewarded ads (planned)
SunoThe owner's tool for the music
Apple App Store and Google PlayDistribution and payments
GitHubPrivate 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