Inspiration

The best daily games are quick, the same for everyone, and give you something to talk about afterwards. We wanted a puzzle you can feel in your thumbs: swipe and everything slides. We also wanted the community to do more than compare scores, so Felt Tip lets a subreddit make its own levels.

What it does

  • One shared board a day. At 00:00 UTC everyone gets the same board. Swipe (or use the arrow keys) to tip the felt, and every marble slides together until it hits the frame, a stone or another marble. A marble drops only into the hole with its own colour and shape.
  • Solver-proven par. Par is the minimum number of tilts, proven by a breadth-first solver. Undo and restart are always free to use, but they never refund tilts. You get ⛳ Perfect, 🎯 Sharp, ✅ Solid or 🧩 Cleared.
  • A weekly ramp. Monday is a 2-marble 6×6 warm-up. The Sunday Special is a 3-marble 7×7 that needs 9–12 tilts.
  • Spoiler-free share grid. One dot per tilt, coloured when that tilt dropped a marble. It shows your rhythm and never your route. One tap posts it as a comment from your account.
  • Crowd heatmap. After you clear the board, it glows wherever the community's marbles rolled. You also see the par rate, the spread of scores over par, and the most popular opening tilt.
  • Board Maker. Build a 5×5 to 7×7 board. The solver checks it live and sets its par. You must clear your own board once (the "clear check") before you can post it. It becomes a new post in the sub under your username, with its own splash screen, leaderboard and comments. A Community tab lists the latest boards.
  • Streaks, leaderboards and an archive. Streaks have a 2-hour grace window after the UTC rollover. Each board has a leaderboard. Every past daily can be replayed as practice, which never affects your stats.

How we built it

  • Devvit Web: React 19 and TypeScript client, Hono server, Redis.
  • Inline splash: The inline splash entry shows a tilted preview of today's board, the tier and par, your streak, and a countdown. Tapping it opens the full game view.
  • Shared engine: The tilt physics, solver, generator and scoring live in src/shared. The client and server use the same code. The server replays each submitted action log through the same reducer. Scores can't be forged, and par is never trusted from the client or from post data.
  • Deterministic puzzles: The UTC date seeds a PRNG. The generator keeps only boards whose par fits the day's band and where no opening tilt drops a marble. Each board takes about 1 ms to generate.
  • Platform features: Redis sorted sets for leaderboards; hSetNX for first-write-wins results and idempotent daily posts. A scheduler cron job that posts the daily board at 00:01 UTC, plus a moderator menu item and an install trigger. submitCustomPost and submitComment running as the user, only after an explicit tap.
  • No asset files: Every visual is CSS, including a felt board with a wooden rim, glossy marbles and dark mode. Every sound is synthesised with Web Audio (rolls, clacks and drops) and can be muted.

Challenges we ran into

  • Making boards that are hard without being luck-based (random play clears only 0.2–5% of boards within twice par).
  • Making the share grid interesting without spoiling the solution.
  • Keeping community boards safe and fair (validated and re-solved on the server, titles cleaned, 3 posts/day per user).

Accomplishments that we're proud of

  • 58 automated tests, including 400 consecutive days proven solvable with optimal par cross-checked by an independent depth-first solver.
  • 59 scripted browser checks covering touch swipe, keyboard, undo/restart accounting, logged-out play, old posts, dead-end hints, Board Maker → clear check → publish → race flow, heatmap, and layouts at 320px, 375px and desktop.
  • Fully keyboard-playable and colour-blind safe (every colour has a distinct shape).

What's next for Felt Tip

Weekly community "board of the week" voting, flair for streak milestones, and themed felt packs.

Built With

Share this project:

Updates

Submission history