Inspiration
Every driver on a shift faces the same question: which rides are worth the gas? We turned that into a puzzle that takes a minute to play and gives everyone in a community the same city on the same day, so the comments are about one shared problem.
What it does
Every day One Fare posts a new city to its subreddit. You get a handful of ride requests and one tank of fuel. Tap the fares in the order you would drive them; a fare only pays if you can finish the drop-off. When you end the shift the cab drives your route and a receipt prints: what you earned, the best possible shift for that city, how you compare with every other driver, and your streak.
- A weekly rhythm. Quiet Monday has six fares, Payday Friday has big tippers, Long Haul Saturday has eight fares and a bigger tank, and Low Tank Sunday gives you far less fuel.
- One scored shift per city. Everyone gets one attempt, so results are comparable.
- The best route is revealed after you play, and you can flip between yours and the best one.
- A score thread. Each post gets one stickied comment from the app; results go underneath it with the route hidden behind a spoiler tag, so the main thread stays free for route arguments.
- The feed card changes after you play, showing your route, score and streak right in the feed.
- Old posts stay playable, because each post carries its own date.
How we built it
Devvit Web with React, TypeScript, Tailwind and Hono. The city generator, scoring and an exact solver are pure TypeScript shared by client and server. Each date seeds the generator, so a city never changes once posted, and a regression test pins known dates. The server re-scores every shift instead of trusting the client. Redis stores each player's shift, an anonymous per-day earnings histogram and streaks; a shift, its count and the streak are saved in one transaction so a double tap can never count a player twice. A scheduled task posts the new city shortly after midnight UTC.
Challenges we ran into
- Making a puzzle that is not solved by an obvious rule. Picking the best pay per unit of fuel finds the best shift only on a minority of days, so most cities need real planning.
- Saving results safely when a player taps twice or two requests race, tested against an in-memory Redis.
- Following Reddit's rules for acting on a player's behalf: score comments go under a stickied thread, every action is explicit and optional, and those buttons stay off for players until the app is reviewed.
Accomplishments that we're proud of
- A full daily loop running on Reddit: automatic posts, saved shifts, community comparison and streaks
- A city that is fixed forever once posted, and a receipt that reads well on a phone
What we learned
Daily games live or die on the first ten seconds, and on whether there is a reason to talk afterwards.
What's next for One Fare
Rush hours and one-way streets as new day types, weekly recaps of the cleverest routes, and turning on one-tap score posting once the app passes Reddit review.
How to play (for judges)
- Open r/Onefare and tap the newest One Fare post. Older posts are playable too.
- Tap Start shift. Circles are pickups; squares with the same letter are drop-offs.
- Tap fares in the order you would drive them, watching the fuel gauge, then tap End shift.
- Each Reddit account gets one scored shift per city. To play again, open an older post.
Built With
- devvit
- hono
- react
- redis
- tailwindcss
- typescript
- vite

