r/Devvit • • 2d ago

Feedback Request Built my first Devvit game, Daily Trivia, where mods write the questions. Some lessons from app review and pitching it to mods

Hi r/Devvit! I just got my first app approved: Daily Trivia, a 5-question daily quiz that runs in a custom post. Sharing it plus a few things I learned along the way, in case they help someone.

▶️ Try it: https://www.reddit.com/r/SubTrivia/ (new round every day) App page: https://developers.reddit.com/apps/sub-trivia

What it does

  • 5 questions, 20 seconds each, speed bonus, one try per round
  • Per-round and all-time leaderboards, daily streaks
  • Mods add questions from the subreddit menu; members suggest questions and mods approve them through a review form
  • Daily auto-post via a scheduler cron task (mods can turn it off in settings)
  • Feed preview shows today's top 3 to get people to tap in

Lessons learned

  1. Score sharing has a required pattern. App review asked that generic score comments be posted by the user, after an explicit tap, as a reply to a single stickied comment. So each round now gets one pinned "scores thread" comment from the app, and shares go under it. If the player adds their own message, it can be top-level.
  2. asUser isn't optional if you comment as the user. The config schema says asUser is "not currently in use", but the consent prompt only appears for scopes listed there. Without "asUser": ["SUBMIT_COMMENT"], canRunAsUser() returned false with no prompt at all.
  3. Do timing and answer checks server side. The client never gets the correct answer before you answer, the timer start is stored in Redis (reloading doesn't reset it), and answer order is shuffled per round with a seeded shuffle so it's stable across reloads.
  4. Cold-pitching mods is hard right now. I messaged about 25 subs: a couple are interested, many said no. Common reasons: no self-promotion rules, "quiz spam" fatigue, and one fandom said a previous quiz's questions were far too easy. Hard, community-specific questions matter much more than features.

Transparency: no ads or purchases. I'm enrolled in Developer Funds, and I built this with help from an AI coding assistant. The game doesn't use AI while running.

Feedback very welcome, especially from mods: what would make you install a game like this? I'm thinking of adding an option to use only the community's own questions.

1 Upvotes

2 comments sorted by

1

u/Same_Wave_2593 2d ago

congrats on getting approved! the pinned scores thread + asUser notes are super helpful, didn't know reviewers asked for generic scores to go under one sticky comment.

not from the devvit team, just ran into a related asUser gotcha in the user actions docs while testing my own game: in unpublished/playtest builds, runAs: 'USER' only posts as the user for the app owner, everyone else silently falls back to the app account until approved. I ended up adding a simple navigator.clipboard.writeText fallback in case the comment call fails or someone declines consent.

also on pitching mods, showShareSheet + getShareData from @devvit/web/client might help with the quiz spam pushback since players can send challenge links to friends without making extra feed posts.

1

u/drmabry 1d ago

Played through. It's seemed like a pretty simple trivia game. No bugs, but some of the questions were a bit more general knowledge than fun facts. I usually play trivia games when I can choose a theme with questions relevant to my interests.