Inspiration

Reddit runs on strangers messing with each other. I wanted a game where the level designer is another player who's actively trying to catch you - and where getting caught is funny, not punishing. Minesweeper-style deduction, except the mines were hidden by a human with a grudge, and the tension plays out on a raccoon's face.

What it does

A raccoon tiptoes across a dark kitchen toward a snack, dodging traps another player hid. Every step tells you how close danger is: the room shifts from cool moonlight to amber to ember red, and the raccoon's ears, eyes, and nerves react. You read the tells, deduce the safe path, and decide - grab the crumb and run, or push deeper past more danger for the cake. Step wrong and you get GOTCHA'd, frozen in a flashlight beam by whoever set the trap. Then you hide your own trap for the next sneaker and watch a ghost raccoon spring it. Come back to see how many raccoons your traps caught overnight, climb the deviousness leaderboard, and take the daily community trap.

How we built it

Devvit Web - a React + Tailwind client, a Hono server on Redis, and a dependency-free TypeScript game engine shared between them. The engine guarantees every board is "no-guess fair" (a constraint solver certifies the safe path is deducible from the tells alone, no coin-flips) and generates the daily boards. The server is authoritative - trap positions never reach the client, and every move and banked path is validated server-side. A scheduler posts the most-devious community trap each day. Fonts are self-hosted (no CDN), the raccoon is hand-crafted SVG with mood states, and the whole thing is built to a written design bible with a temperature-based tell system that stays legible for colorblind players (redundant icon and raccoon body language, not color alone).

Challenges we ran into

Making one-life fair. A deduction game where you die to a guess feels cheap, so the engine proves each board is solvable by reasoning before it ships - including rejecting player-authored traps that would need a lucky guess or hide under a snack. Balancing tension (getting caught has to happen and be funny) against fairness (it must always be your misread, never the game cheating).

Accomplishments that we're proud of

The no-guess-fair guarantee: a constraint solver certifies every board - including player-authored traps - is winnable by pure deduction, so you never die to a coin-flip. A colorblind-safe tell system that reads through icon and raccoon body language, not color alone. A game engine with zero external dependencies, self-hosted fonts, and an authoritative server where trap positions never touch the client.

What we learned

How to keep a competitive game honest when the "level" comes from an adversarial player - the fairness has to be provable, not vibes. Devvit Web's client/server split for keeping secret state server-side. And how to teach a mechanic in one screen: the temperature tell has to explain itself the first time you see it, before any tutorial.

What's next for Snacktrap

Player-trap "obituary" cards posted natively into the daily thread, retaliation matchmaking against whoever caught you, and weekly deviousness titles.

Built With

Share this project:

Updates

Submission history