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)

  1. Open r/Onefare and tap the newest One Fare post. Older posts are playable too.
  2. Tap Start shift. Circles are pickups; squares with the same letter are drop-offs.
  3. Tap fares in the order you would drive them, watching the fuel gauge, then tap End shift.
  4. Each Reddit account gets one scored shift per city. To play again, open an older post.

Built With

Share this project:

Updates

posted an update —

One Fare update: version 0.0.3 is live on r/Onefare

What's new since launch on Nov 15:

  • Weekday themes. Each day of the week plays differently: Low Tank Sunday (less fuel), Quiet Monday (fewer fares), Payday Friday (big tippers), Long Haul Saturday (more fares, bigger tank).
  • A receipt for every shift: each fare you drove, what you earned, the best possible total, fuel used and your streak.
  • A daily score thread. Every post gets one pinned comment for scores. Copy your result and reply there, with your route hidden behind a spoiler tag so nobody's game gets spoiled.
  • The cab drives your route on the map when you end your shift.
  • Fair streaks: only today's city counts, so playing old posts never inflates them.
  • Fixed: the Join button was hidden after it failed on unapproved builds. Playing never depends on joining.

Under the hood: every city is generated from the date, so everyone gets exactly the same puzzle, and an exact solver works out the best possible route for the receipt. Saving a shift is a single Redis transaction, and 30 unit tests cover the rules and storage.

Play today's city: https://www.reddit.com/r/Onefare/ 35-second demo: https://www.youtube.com/watch?v=_WtP80zleRc

Played it? Tell us your score and your route in the comments.

Submission history