I recently built Noillirk, a free browser-based common-answer guessing game where players guess familiar everyday answers within 15 seconds per prompt to guide an original character, Sky Sprout, across 52 unlockable pixel-art sky worlds.
The core game loop is simple: instead of hunting for obscure trivia, you try to name the most widely recognizable answer for a prompt. Each Classic or Daily flight runs seven questions at 15 seconds per prompt, scoring 100, 64, 32, 16, 8, or 4 points based on answer familiarity with no speed bonus.
Architecture & Tech Stack
Because the game needs instant guest play with zero signup friction, responsive canvas visuals, and low-latency multiplayer rooms, I built it on a unified TypeScript stack:
- Frontend & SSR: TanStack Start + React 19 + Pixi.js 8 for rendering Sky Sprout and 12 pixel-art sky palettes smoothly across desktop and mobile viewports.
- Edge Compute & Persistence: Cloudflare Workers with D1 (via Drizzle ORM) for storing question boards, player profiles, and cached answer verdicts.
-
Real-Time Multiplayer: Cloudflare Durable Objects (
GameRoom) managing live room state, synchronized 15-second prompt timers, and room sizes of 5, 7, 10, 20, or 50 prompts.
Handling Free-Text Answers in Real Time
One of the trickier design problems in a common-answer game is free-text input. A player typing "coffee cup" or "a mug of coffee" should not be penalized just because the canonical board says "coffee mug".
To keep responses snappy during a 15-second countdown:
- The server normalizes casing, spacing, and common aliases before checking the frozen nine-answer board.
- Previously evaluated off-board answers are cached in D1 keyed by question and judge version.
- Unseen entries are routed to an AI judging step (DeepSeek) to verify category fit and assign an off-board tier (16, 8, or 4 points) or map back to an existing board slot.
Four Ways to Play
- Classic & Endless: Practice anytime in Classic seven-prompt flights or test your streak in 3-balloon Endless mode.
- Daily Challenge: Try the Noillirk daily challenge, where everyone plays the same UTC-frozen prompt set and the first attempt counts toward the daily leaderboard.
- Multiplayer Rooms: Spin up a room link in Noillirk multiplayer mode or send a fixed-prompt challenge to friends.
No account or download is needed to play. If you are building browser games on Cloudflare Workers and Durable Objects, I would love to hear how you structure room state and mobile keyboard handling.
Top comments (0)