Inspiration
Reddit's best daily games—like Wordle-inspired community threads—thrive when everyone in a subreddit solves the exact same bite-sized challenge each day and compares spoiler-free results in the comments. We wanted a tactile, 60-second spatial puzzle whose mechanics feel unmistakably Reddit: routing an Orangered Upvote Beam around Periwinkle Downvote hazards, with zero clutter and instant satisfaction on both mobile and desktop.
What it does
- Instant Live Feed Preview (
splash.html): Right inside the Reddit feed, players see today's live animated circuit board, Par target, community solve count, and their daily streak, launching straight into the expanded game on tap. - Deterministic Daily Puzzles + 7-Day Rhythm: Every UTC day generates a fresh, mathematically verified puzzle (from Monday Warmup Relay to Saturday Portal Warp and Sunday Hivemind Master on a 7×7 grid), plus a 7-Day Archive and infinite Practice mode.
- Authoritative Server Verification & Subreddit Leaderboards: On solve, the
@devvit/web/serverExpress backend re-simulates the submitted board state, updates the subreddit's Redis sorted-set leaderboard, computes the player's community percentile, and tracks consecutive daily streaks. - One-Tap Spoiler-Free Comment Sharing: Players can post their
🟠 ORANGERED #NNNemoji grid directly to the post's comment thread with one click—showing the glowing beam path without spoiling mirror angles.
How we built it
- Devvit Web (
@devvit/webv0.15.6): Configured viadevvit.jsonv1 schema with dual entrypoints (default->splash.html,game->game.html), Express API routes (/api/state,/api/complete,/api/share-comment), moderator menu action (Create Daily Orangered Post), andonAppInstalltrigger. - Pure TypeScript Ray-Tracing & Exact Solver: Built a loop-safe beam simulator supporting 45° mirrors, dual-output Crystal Splitters, paired Portals, and Periwinkle short-circuit blockers, paired with an exact minimum-rotation solver (
solveMinimumRotations) guaranteeing exactParscores and optimal hints. - Zero-Asset Vector & Web Audio Polish: Every tile glyph, animated beam pulse, and tactile sound effect is rendered with crisp inline SVG + Web Audio API synthesis so the bundle loads instantaneously inside Reddit's WebView.
Challenges & Accomplishments
- 365/365 Daily Verification: Automated Vitest stress test proves every single day of 2026 generates a solvable, non-trivial puzzle (
par >= 3) with exactParverification in ~300ms total. - Sub-Second Tactile UX: Live SVG beam updates, Undo/Reset/Hint controls, synthesized audio feedback, and zero-reload Reddit comment sharing.
Built With
- devvit
- express.js
- react
- redis
- svg
- typescript
- vite
- web-audio-api