Every sheet remembers how it was made.
UNMARBLE is a daily puzzle about reading time backwards.
Every day the subreddit receives one marbled sheet: a ruled, striped paper on which a few drops of ink fell and a stylus dragged through the water. You don't paint it. You unpaint it. Find the move that happened last, undo it, and keep going until the stripes run straight again.
Three forms of mark, three readings:
- Drops. The only perfectly round drop fell last. Tap it and it sinks back into the water; everything underneath relaxes.
- Folds. Nothing round? Something stroked the water after. Find the fold in the stripes and drag along it, against its point.
- Swirls. The water turned around an eye. If the eye is undisturbed, the swirl came last: circle it with your finger, against the turn.
Two drops of the same ink? Read their two centres.
Misread the sheet and the paper tears: you keep a small scar, and the sheet shows you which later move gave the order away. Three tears and the sheet gives way, then it replays how it was really made, step by step, so you always learn the answer.
- Open today's post (or the pinned Atelier post, which always shows today's sheet).
- The first time you meet a form, a short lesson teaches it — the first visit is two lessons (drops, then folds) before today's sheet, and the first sheet with a swirl, or with twin drops, adds a lesson for each. Dots on the plaque show how many are left, Skip passes the lesson on screen, and a ghost finger shows each gesture until you try it.
- New here and today's sheet is a ★★★★ or ★★★★★? The game offers an easier sheet from the Book to warm up on first (or a ★ practice sheet), and its hints come sooner for your first few sheets.
- Tap a drop to draw it back. Drag along a fold to undo it. Circle a swirl's eye, against its turn.
- The ? in the header opens a pocket reading guide: the order rule, every lesson as a live specimen to play again (ghost finger included), and a map of what else is here (traps, Sunday's trap, naming, the Book, practice), each a tap away. It opens before your first move or once the sheet is done, never mid-sheet, and while it covers an untouched sheet that sheet's clock waits.
- The Lens (once per sheet) briefly shows where the water moved. Using it is marked on your result.
- A clean sheet lifts out of the bath and marbles itself again, quickly: what you just undid. Your result card shows your marks (● correct, ○ tear), your time, your standing among everyone who played today, your streak, and what tomorrow's sheet will ask (its recipe, or on Sunday: a mixed sheet or the week's best trap).
- One next step leads on the card: someone else's trap to spring, else setting your own (one a day), else an earlier sheet from the Book. Setting a trap stays in sight while you still can; the thread (to name the sheet or tell a trap's maker how it went), the Book, practice and flair wait under More.
- Share result copies three spoiler-free lines — the sheet (and its community name or recipe), your marks, and the outcome, time and subreddit — with the seal ⛨ clean, no Lens when you made no tear and left the Lens alone. Once it is copied, Paste it in the thread takes you to the post's comments. The app never posts for you.
The week has a shape, like a crossword's: every weekday keeps its difficulty and its band of moves.
| Day | Moves | Folds | Swirls | Paper |
|---|---|---|---|---|
| Monday ★ | 4 | 1 | — | calm: bands or combed |
| Tuesday ★★ | 5 | 1 | 0–1 | ruled: bands, combed or a grid |
| Wednesday ★★ | 5 | 2 | — | ruled |
| Thursday ★★★ | 6 | 1–2 | 0–1 | any |
| Friday ★★★★ | 6–7 | 1–2 | 1 | any |
| Saturday ★★★★★ | 7–8 | 2 | 1 | lively: waves, chevrons or rings |
| Sunday ★★★ | 5–6 | 1 | 1 | any — or the week's best community trap, credited to its maker |
What changes is what each day features. Each weekday rotates 4 recipes (Sunday 5) — a buried fold or an early one, a fold or a swirl on top, crossed or parallel folds, a drop that only looks round, twins — and never shows the same sheet twice within three weeks. From December, Tuesdays add a fifth: Stone, a bullseye of three inks, each dropped inside the one before, under a fold. About one day in ten is a special with its own rule, shown with its own stars, that leaves the band: Ink Only (a Monday rest day of 6 drops and no fold), Folds Only (a Thursday whose ink fell first, then 3 folds) or Storm (2 swirls turning opposite ways, on a Friday or Saturday). In December specials come as often as those rules allow. The post title names the day's recipe, and the result card says what tomorrow will ask.
Practice sheets. Want more? From any result card or from the Book, marble practice sheets on your device: pick a difficulty and, if you like, one of its recipes (specials included, and Stone ahead of its first Tuesday), then play as many as you want with Another. They are labelled Practice, unranked, count toward no streak and never touch the server.
Sheet No. 1 is the day the app was installed in your community; the colourway of the day is the same everywhere. The paper itself changes too: plain bands, finely combed stripes, a grid (a ruler in both directions), chevrons, waves and concentric rings, across 28 colourways that never repeat within four weeks.
Every sheet is generated fresh each day and checked before anyone sees it: a rule-reading robot must be able to solve it without a single mistake, each covered move must carry a mark a human can see, and every drop must stay big enough to tap. There are no guessing games and no unfair sheets.
- Everyone gets the same sheet each day. You're compared with your subreddit, not the whole internet.
- Set a trap. Once a day, marble a sheet of your own on today's paper — drops, folds and swirls — to catch other players. The editor checks your trap live against the same fairness rules as the daily sheets (it names the move at fault and outlines it on the paper), and tells you when it is devious: when it fools anyone who trusts the roundest drop. The server checks it again. Your trap is posted to the subreddit with your name in its title, and a pinned comment keeps count of who it caught; your result card tells you too. The week's most-played trap that at least three signed-in players tried, and that between 30% and 85% of them solved cleanly, becomes Sunday's sheet, credited to you in its title — the Book marks the trap currently in the running. If no trap qualifies, Sunday is a mixed sheet.
- The Book. The last month of daily sheets and the newest traps, with a thumbnail and your result on each. Old sheets stay playable any time.
- Streak flair (opt-in). Tick a box on your result card to show "12-day Unmarble streak" next to your name in the subreddit. Untick it and your previous flair comes back. If a moderator gives you a flair meanwhile, theirs wins and the app stops updating yours.
- Name the sheet. Each daily post has a pinned comment asking "What does this sheet look like?" The result card takes you there: reply with up to three words. Once it has enough upvotes, the best-voted reply names the sheet (shown in quotes, on the card and in the Book). Nothing is generated: the names come from people, in normal Reddit comments that you can report.
- Scars are shared. Once you finish, you see where everyone else tore the sheet, and — once a few hands have played — which move caught the most of them ("42% tore on this drop", with the move outlined on the paper).
- The Apprentice. Until a few hands have played, a clearly labelled house reader stands in: the Apprentice, a bot that only trusts the roundest drop and plays each sheet by the same rules on your device. While the sheet is quiet, the card only says how often it is fooled ("Fools the Apprentice 2×"), never where. Once you finish, your result card sets your reading against its marks ("On move 3 the Apprentice trusted a drop that looked round, but a fold lay on top. You read it right.") and briefly outlines the move it fell for in broken dots, never a closed ring. Before anyone has played, a daily's card shows what its recipe asks, a trap's invites the first hand, and a Sunday with no featured trap says none qualified. It is never counted as a hand, in ranks, scars or stats.
- Join. The result card links to the subreddit, where Reddit's own Join button subscribes you. The app never subscribes anyone itself.
- Streaks count consecutive days of finished sheets.
- Installing the app creates today's post and a pinned Atelier post; that day is Sheet No. 1. A new sheet is posted every day at 00:00 UTC. If you delete today's post or the Atelier, post today's sheet now publishes it again.
- Menu actions: post today's sheet now (subreddit menu) and clear this sheet's name (post menu, for any name you don't want).
- Names must be short replies to the pinned comment. Removed or spam comments never count, and the app filters common profanity.
- Traps are ordinary posts by the app, titled with their maker's name: remove one like any post (or mark it as spam) and it leaves the Book and the Sunday selection; approve it again and it comes back. Users banned from the subreddit can't set traps.
- Only signed-in players count toward choosing Sunday's trap, and a trap's maker never counts on their own trap.
The app stores, per subreddit: your moves on each sheet (to resume and verify results), your rank on each sheet, your streak, the traps you set, and — only if you opt in to flair — your username and the flair it replaced, to keep the flair up to date and restore it. Moves, results, ranks and the per-sheet tallies (hands, scars) expire 60 days after they were last written; your streak record expires 60 days after your last counted day. Traps stay as long as their posts do, since they are the posts' content. Nothing is shared outside the subreddit, and no data is sent to third parties.
Stack: Devvit Web 0.15.3, React 19, Hono, TypeScript (strict), WebGL2 with a CPU fallback.
src/
shared/ Pure TypeScript, no platform APIs. Runs on client, server and in tests.
marbling/ Exact marbling transforms (after Lu, Jaffer et al., "Mathematical Marbling"): drops, folds, swirls
puzzle/ Moves, evidence (marks), analysis bots, the sheet contract and its diagnoses,
gesture separability, recipes and their calendar, generator, lessons, traps,
practice sheets
game/ Rules as a pure reducer, gesture resolution, blot explanations, scoring
render/ The shading model shared by the CPU rasteriser and the GLSL shader
sheet/ Ground patterns, colour science (OKLab, CVD simulation), the palette catalogue
protocol/ Client/server contract and validators for every untrusted payload
config.ts Every tunable number, in one place
client/
render/ WebGL2 fragment-shader renderer, CPU renderer, static painter
game/ GameController and ComposerController (presentation models), scene, overlay, specimen,
and the practice shelf (practice sheets marbled in slices, one ahead)
platform/ Platform port, with reddit-platform (Devvit) and lab-platform (browser only)
ui/ React views and the design system (tokens.css)
server/
core/ Sheets (incl. Sunday featuring), attempts, posts, naming, traps, Book, flair — behind a Store port
app-services.ts The service graph, pure (tests compose it over in-memory fakes)
reddit/ The Reddit port: every Devvit Reddit call the app makes
routes/ /api (public, validated) and /internal (triggers, scheduler, menu)
tools/ Sheet preview tool (PNG strips of every solving step), the year report, the pre-deploy
calendar check and the icon renderer
assets/ The app icon, rendered by tools/render-icon.ts
Physics. A drop at c with radius r maps p ↦ c + (p − c)·√(1 + r²/|p − c|²). A stroke maps p ↦ p + u·αλ/(|(p − b)·n| + λ). A swirl rotates each point around its eye by τλ/(|p − c| + λ). All three are exact bijections, so each frame is rendered by pulling every pixel back through the moves. Undoing the top move restores the previous state exactly. Every animation only changes an amount (a drop's radius, a stroke's shift), so each frame is a physically valid sheet.
Fairness contract. Every published sheet is checked by validateSheet:
- the golden rule: at every step, the top move is pristine and every other move carries a readable mark (an oval or ring for drops, a bent seam for folds, a disturbed eye for swirls) of at least 1.2× the human threshold;
- seams must cut the stripes steeply and run across enough of the paper to read;
- a drop never lands inside an earlier drop of its own ink (the two would read as one blob);
- gesture separability: every reasonable swipe (short, long, or the whole seam, slightly off-line) or circle (off-centre, squashed) that undoes the top move must resolve to it, and a straight swipe is never read as a circle, so a blot is always a misreading, never a misaim;
- every drop stays visible and tappable at every step;
- the coverage and composition are balanced;
- the sheet has every feature its recipe promises, and none of the features that would make it pass for another recipe of its weekday.
Server authority. The client applies actions optimistically. The server replays the same log through the same reducer, so a reload can't undo a tear and a result can only be what the rules allow. The daily seed is an HMAC of the date with a secret created at install, so future sheets can't be computed from this public source. The recipe calendar has a seed of its own (another HMAC of the secret), so announcing tomorrow's recipe reveals nothing about its sheet; the server only ever announces tomorrow.
npm install
npm run check # types, lint, unit tests
npm run lab # the game in a plain browser at http://localhost:5199/lab.html
npm run sheets -- 2026-11-25 7 # print and render a week of sheets to previews/
npm run year # play out a year of the calendar for three secrets and check every sheet and rule
npm run check:calendar # a new calendar version must start at least two days after its deploy (run by deploy)
npm run icon # render the app icon (assets/icon.png) with the marbling engine
npm run dev # devvit playtest (requires `npm run login` first)
npm run deploy # checks (calendar included), then devvit uploadLab URLs: lab.html?date=2026-12-03 (a specific day), ?fresh (forget local progress), ?view=card (the feed card), ?view=board (the card at 288/400/720 px), ?practice=3 (a ★★★ practice sheet), ?practice=4&recipe=storm-4&seed=ab12 (one recipe, one sheet of it). In the lab you play as a local "lab-player": traps, the Book and flair all work offline in the browser.
- Devvit Journeys events are dropped until an app is allowlisted at review. This app is uploaded for the hackathon, not published, so it does not rely on analytics.
- While the app is unapproved,
runAs: 'USER'acts as the app account for everyone except its owner. Naming therefore uses comments people write themselves, read by triggers.