What it is

Driftlight is a daily sliding puzzle that lives inside a Reddit post. Each day at 00:00 UTC a new 7x7 night pond appears as a fresh post: rocks, reeds, floating shrines and two or three glowing paper lanterns. Everyone in the community plays the same pond and compares routes.

How to play

  • Swipe the pond (or tap the wind arrows, or use arrow keys / WASD) to send a gust.
  • Every lantern drifts at once in the gust's direction until something stops it: the pond edge, a rock, or another lantern.
  • Reeds catch a lantern that drifts into them; the next gust frees it.
  • A lantern docks when it drifts onto the shrine of its own colour and then stays put, acting as a new wall for the others.
  • Dock every lantern in as few gusts as you can. Par is the fewest gusts possible, computed by a solver for every pond. Undo and Reset are free.
  • Scoring: at par = 3 lanterns (Perfect drift), par+1 or par+2 = 2 lanterns, more = 1 lantern.

The difficulty follows the week: calm (2 lanterns) Mon-Tue, breezy Wed-Thu, gusty (3 lanterns) Fri-Sat and stormy Sundays.

Community features

Tonight's pond shows a histogram of how many gusts every keeper needed plus the top keepers; streaks track consecutive daily ponds; an optional "Comment my result" button posts a comment from the player's own account only when they choose to (the route is hidden in a spoiler tag); a native share sheet gives an emoji result card without spoilers. Logged-out players can play and claim their solve later.

How we built it

Driftlight is built on Reddit's Devvit Web platform with TypeScript: a React client (inline splash launch view and an expanded game view), a Hono server API with Redis for stats, histograms and streaks, and a scheduled job (cron 5 0 * * *) that posts the new pond every day. The puzzle engine, generator and solver live in one shared TypeScript module, so client and server agree on the rules.

Challenges

Ponds are generated deterministically from the date, and every pond is checked by a breadth-first solver so it is always solvable and par is provably optimal. Keeping a game that feels good on touch inside an inline Reddit post, while handling logged-out players and first-solve-counts rules, took the most iteration.

What's next

More pond themes, weekly community boards and moderator tools for custom ponds.

Built With

Share this project:

Updates

Submission history