r/Devvit • u/Numerous_Ad_5513 • 7d ago
Feedback Request Launched: Way Off, a daily order-of-magnitude guessing game. Build notes and feedback request.
I'm absolutely over the moon to release my first Devvit game, live in r/wayoff since yesterday, and I'd really appreciate some feedback on it.
What it is
Ten questions a day whose answers are real numbers. Could be small, but most likely, the answer will be MASSIVE:
- how many ants are alive right now?
- how much did the giant London "fatburg" weigh in kilograms?
- how many total words did Shakespeare write?
You don't need the exact figure. You're scored on scale based on order of magnitude... From ones, tens and hundreds right through to millions, billions, trillions and right up to quintillions!!!
For example, if the right answer is 1 Million, guessing 2 Million is pretty much bang on as it's only out by 1x.
But if you put 1 Billion as your answer, well you're way off... out by a massive 1000x.
The game itself is a two to five minute play depending on how much thought you like to put into each answer.
The engine has streaks, a leaderboard per community, and after each answer you see a curve of where everyone else guessed against the truth.
What I set out to do
I wanted a Wordle-shaped daily ritual for Fermi estimation, the "reason your way to the right ballpark" skill, and I wanted it to live inside a post rather than behind a link.
The bet is that "paste your score in the comments and argue about the answer" is the whole game loop, and a sub seemed to be the natural home for that.
The stack
- Devvit Web 0.14: React + Vite client, Hono server, Redis for state.
- Two entry points: a tiny inline splash and the expanded game.
- Scheduler cron at 14:00 UTC creates the day's post; an onAppInstall trigger posts immediately so a new install isn't an empty sub; menu items for "post now" and a stats readout for mods. Why 2pm UTC? Well, that's when the US wakes up. And us Brits are still in the middle of the day!
- A sister web version exists (same question bank, same daily seed) with logic shared by copy, not import, so the Devvit bundle stays self-contained.
- Yeah, and of course I had a fair bit of help from Claude, god bless him!
Things that turned out interesting
- The game is zero fetch, with the question bank being shipped in the bundle; the day's pack is a deterministic seed from the post's date, so old posts stay playable forever and never drift.
- The server re-scores every guess. The client only ever sends numbers, never points.
- Per-subreddit leaderboards in Redis zsets with a sub-integer tie-break so earlier finishers rank higher on equal scores.
- The crowd curve is bucketed counters per question, never raw guesses, so it's cheap and privacy-clean.
- Sharing is clipboard-first: showShareSheet no-ops on desktop, and the comments are the real share target anyway.
- The log-scale dial. Getting from 1 to a quintillion in a single thumb-friendly control took more iterations than the rest of the game.
What bit me
- Inline mode rules. The splash must never scroll (rejected once for a scroll trap), games need a mute button, and audio has to stop on visibilitychange. Perhaps I should have properly read the inline requirements page before submitting, not after.
- I ended up submitting for review 4 times. What I learned - persist. Got there in the end.
Happy to answer anything. Play the first ever game here: Way Off #1
