Inspiration

The games people actually play every day on their phones are often the silliest ones: a staring contest with the camera, a tongue that catches sushi, a quick "beat my high score". They're over in seconds, you get a number, and you want to send it to a friend. I wanted that feeling on Reddit, but with a twist that only works in a community: everyone plays the exact same game, with the exact same layout, on the same day. So when someone in the comments says "that rubber duck was evil", everyone knows which duck they mean.

What it does

Tiny Trials is a daily arcade that lives in a Reddit post. Each day it opens one bite-sized game, picked from a rotating lineup of 15 originals. Nobody knows which one is up until the day starts, and a game only comes back after all the others have had their day.

10 arcade games (about 30 seconds each, one simple input):

  • Halfsies: swipe once to cut each shape (a pear, a rubber duck, a cat...) exactly in half. "49.8%!"
  • Toast Pop: tap each slice of toast right at the top of its arc. Too slow and it burns.
  • Sheep Count: count the sheep jumping the fence, but not the goats in disguise.
  • Firefly: keep your finger on a firefly darting around a jar at night.
  • Sauce Boss: hold to squeeze ketchup onto hot dogs on a conveyor. It takes a moment to fall!
  • Tall Order: you're a waiter. Slide the tray to keep a wobbling stack of dishes from toppling.
  • Doodle Recall: a doodle flashes for two seconds. Draw it from memory.
  • Skip Stone: flick a stone across the lake. Low, fast and flat skips the most.
  • Pancake Flip: charge, flip, and land each pancake flat with the number of flips on its order ticket.
  • Bubble Gum: tap to blow the bubble bigger, and stop before it pops.

5 puzzles (a few minutes, think it through):

  • Slippy: slide a penguin across the ice to the fish. It only stops when it hits something.
  • Beam Bounce: flip mirrors to bounce a light beam onto every star.
  • Weigh In: one toy robot is full of marbles. Find it on a balance scale in as few weighings as you can.
  • Bookshelf: swap books until every clue ("Yellow is left of Red") is true.
  • Paper Route: plan the shortest delivery route through a tiny town.

For every puzzle, the game works out the best possible solution ahead of time, so you're scored against a real par, and everyone that day chases the same one.

The daily loop:

  • Three tries a day, and your best score counts.
  • A leaderboard for each game, every day: the result card shows where you landed ("#3 of 57 today"), whether it's a new best, and the top of today's board.
  • An all-time leaderboard: every run earns up to 1,000 points (your score as a share of that game's best possible score), so a great Toast Pop run and a perfect Bookshelf compare fairly. Your best run per game per day adds to your total.
  • Streaks: play at least one game a day to keep yours going. Your streak shows on the post in the feed.

Every subreddit that installs Tiny Trials gets its own boards, so it's always your community competing against itself.

How I built it

  • Devvit Web: a React 19 + TypeScript client (Vite, Tailwind) in an interactive post, and a Hono server on Devvit's runtime.
  • Every game is drawn in code on an HTML canvas, with no image assets. The look comes from a small set of theme colors, so all 15 games feel like one product.
  • The same game for everyone: each game's layout comes from a seeded random generator keyed to the UTC date and the game, so the shapes, the toast schedule, the firefly's flight path and the puzzle boards are identical for every player that day. The client and the server share the same date, rotation and rules code.
  • Puzzles with a real par: each puzzle generator only keeps boards that are solvable, and computes the best solution with a search: breadth-first search for Slippy, trying every mirror setting for Beam Bounce, a brute-force solver for Bookshelf, an exact shortest-tour algorithm for Paper Route. Weigh In has no hidden answer at all: the scale picks whichever outcome keeps the most suspects, so careful reasoning always beats a lucky guess.
  • Leaderboards on Redis: each day's board for a game is a sorted set; the score and run time are packed into one number, so a faster run breaks ties. The all-time board is a sorted set of points, and streaks and stats live in per-user hashes. The server checks every submitted score: the right day, today's game, tries left, and a score no higher than the game's maximum.
  • Tested: 190 unit tests cover the scoring, the generators, the puzzle solvers and the leaderboard rules. A separate harness runs the server code against an in-memory Redis through a few days of play.

Challenges I ran into

  • One layout, every screen. A swipe or flick has to mean the same on a small phone and a wide monitor, so speeds and distances scale to the play area, and touch and mouse use the same targets.
  • One leaderboard for very different games. A Toast Pop score can reach 2,800, while Tall Order tops out at 24. Scoring every run out of 1,000 made an all-time board that's fair across games.
  • Puzzles that are hard, but never impossible. Every generated board has to be solvable, with par computed exactly. The tests check this over hundreds of daily seeds, against an independent solver.
  • Making guessing not pay. In a "find the heavy one" puzzle, a lucky first guess would beat careful reasoning. Letting the scale choose its outcome to keep the most suspects fixed that.

Accomplishments that I'm proud of

  • 15 complete, original games, each with its own feel, a clear result, and something to brag about.
  • Every puzzle is provably solvable, with an exact par.
  • A daily loop that works with Reddit, not just on it: the same game for the whole community, per-community boards, streaks, and a reason to talk about it in the comments.

What I learned

Small games live or die on feel: how fast the ketchup falls, how big a firefly's glow needs to be around a fingertip, how strict "perfect" should be. And a daily game only works if it's fair: same layout, same par, same rules for everyone.

What's next for Tiny Trials

  • A new post every day, so each day's game gets its own comment thread.
  • A daily champion flair, and Devvit Journeys events to track the daily loop.
  • A weekly leaderboard, and letting players vote on tomorrow's twist (Tiny, Turbo, Mirror).
  • More games in the rotation.

Built With

  • devvit
Share this project:

Updates

Submission history