Inspiration

Anyone who has carried shopping home knows the rules: the eggs go on top, the ice cream goes in the freezer first, and you never put the cake on the floor of the car. We wanted a daily puzzle where those small, very human rules are the whole game, and where a subreddit can argue every morning about the best way through the same town.

What it does

Each day, Last Mile posts a new neighborhood map to the subreddit. It's 5:00 PM and you have 4 to 6 parcels to deliver before the shop closes. Each parcel has a quirk:

  • the birthday cake can't ride over cobblestones,
  • the ice cream melts at a set time,
  • the cat refuses to be the last stop,
  • the antique vase survives only a few turns,
  • the surprise flowers must be delivered first,
  • the crate of books slows the van while it's aboard.

You plan a route by tapping doorsteps and corners. The van takes the quickest roads, and you can steer it through the corners you tap. The parcel cards show live whether your plan keeps each customer happy. Then you hit Drive and watch the van do your route. Customers react as their parcels arrive, and you get a stamped receipt:

  • 1 star: everything delivered before closing
  • 2 stars: every customer happy
  • 3 stars: all of that, finished at or before par, the fastest perfect route

Your first drive each day goes on that subreddit's daily board. There's also an all-time board and a daily streak. Afterwards you can tap Post my route to reply under the pinned route-board comment, as you, with your stars, score and route. Replays and unlimited practice maps are always free.

How it is Reddit-y

  • Same map for the whole community. Everyone plays the same town each day, so the comments fill with route arguments ("you didn't need the avenue").
  • Leaderboards and streaks per subreddit. Each community gets its own boards.
  • Route sharing. Shared routes are grouped as replies under one pinned comment. They're posted by the player, and only when the player taps the button.
  • Moderator tools. A scheduler posts a new shift every day at 00:00 UTC, and a mod menu item can post today's shift by hand. Old posts stay playable and link to today's shift.
  • Nothing is gated. Playing never requires commenting, joining or logging in. Logged-out players can play the full game. The login prompt only appears on the receipt, so they can save their streak.

Daily content

The maps are made by a seeded generator. For every day it:

  • builds a connected street grid with a fast avenue and a cobbled old town,
  • places the parcels,
  • runs an exact state-space search over intersection, heading, parcels delivered and vase turns to compute par,
  • throws the map away if the quirk-blind fastest route keeps everyone happy anyway, so every day has a real trade-off.

The week has a rhythm: Monday and Tuesday have 4 parcels and 2 quirks, and the weekend has 6 parcels and 4 quirks. Over 21 days are validated in the test suite.

How we built it

  • Stack: Devvit Web, with a React 19, Vite and Tailwind client and a Hono server.
  • Shared engine: the route engine, solver and scoring are one TypeScript module used by both the client (live preview and animation) and the server, which re-scores every submitted route and never trusts the client's score.
  • Storage: Redis sorted sets hold the daily and all-time boards. Streaks and runs are stored as JSON.
  • Daily post: a cron scheduler task, plus an install trigger and a mod menu item.
  • User actions: SUBMIT_COMMENT and SUBSCRIBE_TO_SUBREDDIT, each behind its own explicit button.
  • Analytics: Devvit Journeys (app ready, journey start, progress for each delivery, journey end with the score).

Design and accessibility

  • Art: all of it is original SVG built for this game. That includes the top-down van, the little houses, the parks and the old-town plaza. The palette is five colors from a courier's world: asphalt, kraft cardboard, receipt paper, street-sign yellow and van red.
  • Fonts: Big Shoulders Display for the signage and Atkinson Hyperlegible for reading, both open-licensed and self-hosted.
  • Status shapes: delivery status always uses a shape as well as a color (circle check, warning triangle, clock, dashed ring), so it works for color-blind players.
  • Keyboard: the arrow keys drive the van block by block, Backspace undoes and Enter drives. A live region narrates each move for screen readers.
  • Contrast and motion: text contrast meets WCAG AA, and the game respects reduced-motion settings (the drive skips straight to the receipt).
  • Fits the post: the inline post fits without scrolling and uses taps only, so it never traps the feed scroll.

Challenges

The hard part was keeping par honest. A turn limit and a "not last" rule make the search depend on order and heading, so a simple shortest path wasn't enough. We search over the full state and keep it to about 100k states, so a whole day's map is generated and validated in a few milliseconds.

What's next

  • Weekly themed towns.
  • A "ghost van" replay of the subreddit's top route.
  • Community-voted parcel quirks.

Built With

Share this project:

Updates

Submission history