Inspiration
Most daily games ask "what do you think?". We wanted one that asks "what will everyone else think?". Everyday questions like "How many days can you wear jeans before a wash?" split people instantly, and Reddit is the perfect place to argue about the answer.
What it does
Crowd Median is a daily guessing game built on Devvit Web. Every day a new question appears as a post. You don't answer for yourself: you slide to the number you think the crowd will land on and lock it in.
The post then turns into a live result card:
- a distribution chart of everyone's guesses
- your marker (You) and the crowd median (Crowd)
- how many players you beat
- a playful verdict once 3+ people have played: Crowd whisperer, Optimist, Cautious or Wild card
- your daily streak (with Week and Month badges)
After guessing you can optionally comment your reasoning or join the subreddit, as two separate buttons. Each new post shows "Last time the crowd said...", and every finished post gets a Final result comment with the median, the range of guesses and the three players closest to the crowd.
How we built it
- Devvit Web: Express server on the Devvit runtime and a vanilla JS webview client, bundled with esbuild
- Redis stores guesses, streaks and counters (exact median for up to 500 players, bucketed estimate beyond that)
- The Devvit scheduler posts a new question every day at 05:30 UTC (11:00 IST)
- Devvit user actions (runAs USER) power the explicit Comment and Join buttons
- Devvit Journeys: a journey starts when the player locks in a guess and ends when it is saved
- 40 hand-picked questions, a cream and orange design with dark mode, and a layout that fits the post without scrolling
Challenges
Keeping the card readable in a small inline post, computing a fair median from small crowds, and following Devvit's rules for user actions (explicit buttons only, never blocking gameplay).
What we learned
A game this small still needs good defaults: a one-tap first action, an instant payoff (the chart), and a reason to return tomorrow (streaks and "last time the crowd said").
Built With
- devvit
- esbuild
- express.js
- javascript
- node.js
- redis
- typescript