
Inspiration
Every morning, millions of people open a small puzzle, solve it in a few minutes, and then compare notes with friends. I love that ritual, but most daily word games ask you to guess letters by trial and error. I wanted something that felt more like a conversation: one clever clue, and the satisfying "aha" when you see the link between three words.
That became Trifle. One clue describes a hidden relationship. Three words share it. You race the clock to find all three. Something like "All three have keys, yet none of them will open a door. One makes music, one makes words, and one helps you find your way." (Piano, keyboard, map.)
The name comes from the layered dessert, and so does our host. Pip is a trifle glass who fills with one layer for every word you solve: jelly, then custard, then cream, and finally a cherry on top.
What it does

- One shared daily puzzle. Everyone on Reddit gets the same clue at the same time, so results are directly comparable. A new puzzle and a new post arrive automatically every day.
- Three words, any order. All three rows are visible from the start, each with up to two letters already filled in.
- A real race. The timer starts the moment you tap "I'm ready" and stops when the third word lands. Times show to the hundredth of a second.
- Hints with a price. One tap reveals a letter and adds five seconds to your final time. A little "+5s" floats away so you feel it.
- A daily leaderboard. Ranked by final time, with ties going to fewer hints and then the earlier finish. Every player appears with their Reddit avatar.
- Streaks and titles. Keep solving to earn titles like Wordling Apprentice and Grandmaster of Words. Titles are yours to keep even if a streak breaks.
- A clean result card. Your time breakdown, rank, streak, the three answers with a short explanation, and easy sharing.
Built for Reddit

- A results thread on every post. Each day's post gets one pinned results comment. Tap Comment my time and your spoiler-free time is posted as a reply, so the whole community races together in one place.
- Trifle flair. Turn it on and your title and streak appear next to your name across the subreddit, updating every time you solve.
- Snoovatars on the leaderboard, so it feels like a real Reddit community, not a list of usernames.
- Native sharing through Reddit's own share sheet.
How I built it
Trifle runs entirely on Reddit with Devvit Web.
- Client: React and TypeScript, built with Vite. An inline launch screen lives in the feed, and the game opens in expanded mode. All visuals are hand-built SVG and CSS, including Pip, the logo and the tile animations. Sound effects are synthesised live with the Web Audio API, so there are no audio files to load, and there is a mute switch.
- Server: A Hono server on Devvit, with Redis for attempts, profiles, streaks and leaderboards (a sorted set per puzzle). A scheduled job creates each day's post and pins its results thread.
- Reddit layer: Results comments use Devvit user actions, so they post from the player's own account, only ever on their tap and after a preview. Flair and snoovatars use the Reddit API. All of it sits behind one small interface, so it's tested without Reddit.
- Game logic: Pure TypeScript modules for scoring, hints, streaks, milestones and puzzle selection, kept separate from the UI and storage. They are covered by 66 automated tests.
- Content: 114 hand-curated puzzles. Each one is checked automatically: word lengths, no more than two letters shown at the start, the clue never gives an answer away, and explanations read as plain, friendly sentences.
Challenges I ran into
- Keeping the leaderboard honest. The answers never reach the browser. Guesses are checked on the server, and the start and finish times are server timestamps, so a player can't edit their time or peek at answers in the page source.
- Refreshing must not reset the clock. Every action is saved as it happens, so closing the post and coming back restores your solved words, hints and running timer exactly.
- Designing for a post, not a page. The launch screen has to load fast, work with taps only, and never trap scrolling inside the feed. The result screen has to fit a phone without scrolling.
- Social features that respect players. Reddit's rules say an app may only comment on a player's behalf from a clear, separate button. So Comment my time shows exactly what will be posted first, is never needed to play, and keeps results in one pinned thread so the rest of the comments stay free for chat. Flair is opt-in too, since it replaces whatever flair a player already has.
- Consistent tiles. When one answer had ten letters and another had four, the long word's tiles shrank on their own. Now all three rows share one tile size, set by the longest word.
- Fast, but fair. Playtesting showed people want to finish in seconds, so I removed a hint confirmation step and let players start the clock themselves once they've read the clue.
What I learned
- How Devvit splits an app into an inline feed view and an expanded game view, and how to move data between them safely.
- That the most important game rule (who gets to say how long you took) belongs on the server.
- How Reddit's own features (comments, flair, avatars) can turn a solo puzzle into a daily community ritual.
- How much small feedback matters: a burst when a word is solved, a floating "+5s", a ripple when all three land. They make a fast game feel good without slowing it down.
What's next
- Devvit Journeys analytics, to learn where players get stuck and what brings them back.
- A calibrated weekly difficulty curve, with gentler puzzles early in the week.
- More puzzles, and eventually puzzles suggested by the community.
Built With
- css3
- devvit
- devvit-web
- eslint
- hono
- html5
- javascript
- node.js
- react
- redis
- svg
- typescript
- vite
- web-audio-api



