Inspiration
The best daily games on Reddit (r/hotandcold, r/pocketgrids, r/syllo) succeed because they respect the player's time: zero setup screens, instant tactile feedback, a fair daily puzzle shared by the whole community, and a spoiler-free artifact you want to drop in the comments. Signal Circuit brings that exact daily ritual to spatial logic puzzles.
What It Does
Every day at 00:00 UTC, Signal Circuit generates one shared circuit board for the entire subreddit:
- Weekday Standard (Mon–Thu): Fast, crisp 5×5 circuit grid (45–90 seconds).
- Weekend Overclock (Fri–Sun): Deeper 6×6 grid with extra signal nodes for weekend players.
- One-Tap Routing: Click/tap any conduit tile to rotate 90° clockwise (right-click for counter-clockwise). Live BFS propagation immediately illuminates energized paths from the central ⚡ Power Source to every 🟢 Signal Node.
- Par Target: Our generator counts the quarter-turns from the scrambled start to its reference solution, giving every player the same fair target — and sharp players who spot an alternate route can beat it.
- Native Reddit Loop:
- Server-side board verification (
/api/complete) prevents tampered completions. - Redis tracks player daily streaks (
🔥) and live subreddit stats (total solves today, average moves, and Par percentage). - One-click Post Grid to Comments (
/api/share-comment) posts a spoiler-free emoji grid directly into the post's comment thread. - Built-in ← Prev Day archive lets judges and players replay earlier days anytime.
- Server-side board verification (
How We Built It
- Devvit Web (
devvit.json,@devvit/web/server) with an Express 5 backend and Redis state store. - React 19 + TypeScript + Vite frontend with crisp, accessible inline SVG conduits and responsive mobile/desktop layout.
- Zero-dependency shared engine (
src/shared/puzzle.ts) using Mulberry32 deterministic seeding and spanning-tree construction, verified across 365 consecutive daily puzzles (2026–2027) vianode --testto guarantee 100% solvability and zero pre-solved boards.
Challenges & Polish
- Ensuring every daily puzzle is both guaranteed solvable and never trivially solved on load, while keeping the difficulty curve balanced between 5×5 weekdays and 6×6 weekends.
- Keeping the Interactive Post screen uncluttered: game title, puzzle #, live node counter, moves/Par/streak, and board all fit comfortably inside the tall Devvit post viewport without scrolling.
Built With
devvit, reddit-api, typescript, react, vite, express, redis, svg
Built With
- devvit
- express.js
- react
- redis
- svg
- typescript
- vite