Inspiration

Every subreddit has its own instincts, running jokes, and small disagreements. We wanted a quick daily ritual that lets a community discover those differences together. Read the Room turns an ordinary opinion question into a social prediction: answer honestly, then see whether you understood what the rest of your subreddit would choose.

What it does

Each day, a subreddit gets one question with a small set of choices. A player first records their own answer, then predicts the option most likely to lead and estimates its share with a 0 to 100% slider. Locking in reveals the live community distribution and a provisional score. Once the day closes, the score is settled against the final votes and contributes to the all-time leaderboard; consecutive plays build a streak.

Communities can suggest tomorrow's question in a top-level comment using QOTD: question? | option A | option B. The highest-scored valid suggestion in the fetched top-level comment listing is selected, with the author credited in the next post. A built-in bank supplies a question when there is no valid suggestion. Players can also choose to post a spoiler-free score summary as a Reddit comment from their own account.

How we built it

Read the Room is a Devvit Web app. The inline post uses React and Tailwind for the three-step play flow and live results. A Hono server handles state, play, sharing, moderator actions, and daily rollover. Redis stores questions, option counts, daily plays, player stats, and leaderboard points. The server reads top-level comments through Reddit's API when selecting community questions. The Devvit scheduler runs at 00:05 UTC to settle yesterday and open today's room. Score sharing happens only after the player presses the share button.

The scoring rules, suggestion parser, and validation are shared pure TypeScript functions in src/shared/game.ts, separate from Devvit imports.

Challenges

The game needs to feel immediate while its fair final score depends on votes that have not arrived yet. We show a clearly provisional live score and settle points against the final distribution after the room closes. We also made daily play single-use per account and added Redis claims around question selection and post creation to handle overlapping scheduler, install, and moderator actions. Reddit post creation and Redis writes cannot form one transaction, so a process failure between those operations can still require recovery.

Accomplishments

  • Built a daily game that makes each subreddit its own room, with distinct results and a shared all-time leaderboard.
  • Put the full loop (personal answer, community prediction, percentage slider, lock-in, results, and score) in a Reddit inline post.
  • Added community question suggestions with format validation, vote ranking, and author credit.
  • Kept score sharing under the player's control and designed the generated comment not to reveal their chosen option.

What we learned

Small game rules need careful edge handling: ties need a deterministic rule, invalid suggestions should not win, and repeated daily actions must not double-count. Keeping scoring and suggestion parsing in shared pure functions made those rules testable without a live Reddit environment. We also learned to distinguish a live estimate from settled points in both the data flow and the player experience.

What's next

We would improve recovery for a post created just before a failed Redis write, add an explicit backfill path for multiple missed scheduler days, and learn from play in more communities before changing the scoring or question-selection rules. Those are follow-up ideas, not current app capabilities.

Demo and listing

Built With

Share this project:

Updates

Submission history