What it does
One side-on paper-cut course per day. Drag back and release to lob the ball; you get three throws and your closest one counts. Wind builds through the week, and some days bring bouncy pads, low gravity or ledges that start moving the moment you throw. A practice course is always open and never counts.
Why it belongs on Reddit
After your third throw the course fills with everyone's landing spots: you see exactly where the community ended up, your rank, the distance spread and your streak, and one tap posts your distance in the comments. Because everyone gets the same three throws on the same course, the comment thread is a real conversation about one shared problem.
How we built it
Devvit Web, TypeScript + Canvas, no engine. The physics is integer fixed-point so the server can re-simulate every throw and get the identical result; nothing the client reports is trusted. Throws are counted on the server with claim-based slots, so a double tap or a dropped connection can never give a fourth throw or lose a stored one. 364 generated courses, each checked to be reachable but not trivially so.
Challenges we ran into
Deterministic physics shared by client and server, a drag that feels right on a small phone, and surviving flaky connections: lost responses, timeouts and half-written state all recover to the correct result.
How to play
Open the daily post, press Play, drag back from the ball and let go. Three throws, closest one counts.
Built With
- canvas
- devvit
- redis
- typescript