Problem
Every Polish hiker knows the queue for food at a mountain hut and the moment the kitchen announces the szarlotka (apple pie) is gone. It is a shared, funny experience that nobody had turned into something to play or share. The goal was one app that makes it a game, a fake-serious tool and a multiplayer brawl, all on the same map of real huts.
Role
Solo developer: game design, gameplay and simulation code, mobile and web app, backend, multiplayer server, pixel art and audio pipelines, and release.
Architecture & Stack
- Four modes, one core: a Queue Simulator, a mock-official “Queue Oracle” home screen, a reverse Hut Manager mode and real-time Queue Royale share one hut map, one cast of characters and one season model. The simulation rules live in a framework-free TypeScript core package that the game, the backend and the multiplayer server all import.
- Expo app for iOS, Android and web: expo-router with the Phaser 4 game scenes in their own package. The web build is a PWA served as static assets from Cloudflare Workers; Android preview builds go out as EAS internal-distribution APKs, with JS-only updates published over the air.
- Convex and Clerk: Convex holds profiles and shared data, Clerk handles sign-in, and Sentry covers errors on the client and in the Workers.
- Queue Royale server: a Cloudflare Worker with Durable Objects (a matchmaker and one room per match), signed session tokens and a Turnstile-gated upgrade to WebSocket. The wire protocol is documented in the repo.
- Asset and balance tooling: scripts build the pixel-art sprites, the map and the audio, and a batch simulator tunes difficulty (design targets of about 80 % wins at the easiest tier and 30 % at the hardest).
- Pnpm and Turborepo monorepo with Vitest unit tests and Playwright end-to-end tests in CI.
Outcome & Metrics
- Live at szarlotka.dev, with a dev build of
mainredeployed automatically after every green CI run and production released by hand. - The simulator, Oracle, Hut Manager and Queue Royale modes all work, with per-hut sprites and a shareable satirical receipt (paragon) at the end of each round.
- Polish only, free and ad-free; the UI makes clear it is satire, not a real queue or weather service.