⚡ 30-Second Judge Quickstart
- Instant Play (Logged-In or Anonymous): Click LAUNCH DAILY MATRIX directly on our pinned Reddit post card—zero login walls, zero text tutorials.
- Want to Play More Than Today's Board?: Click
Vault & Labsin the bottom dock anytime to explore 14 past daily puzzles (with historical community curves) or generate infiniteLAB-PAR4 / PAR5 / PAR6boards without polluting today's official leaderboard!- Test Native Comment Sharing: When logged into Reddit, solve the daily board and click Post Result to Comments to watch your spoiler-free geometric rhythm log land live in the post thread below.
Inspiration
Great daily games—like Wordle or NYT Connections—turn a 2-minute solo brainteaser into a shared community ritual. When designing a daily game specifically for Reddit feeds, we noticed two critical UX friction points in existing web ports:
- Swipe gestures fight the Reddit mobile app: Sliding-tile games that rely on directional swipes constantly collide with vertical feed scrolling and iOS/Android edge-back navigation.
- Visual clutter & "AI slop" fatigue: Neon gradients and walls of tutorial text feel out of place inside clean Reddit threads.
Inspired by Dieter Rams' precision Braun instruments, oceanographic sonar charts, and tactile print puzzle columns, we created WAVELOCK: a zero-swipe, single-tap daily spatial logic puzzle where a single acoustic pulse sets off an interconnected chain reaction across a $6 \times 6$ precision instrument board.
How It Plays: The Daily Loop
"One Tap. Four Waves. Three Cores Locked in Harmony."
Every day at 00:00 UTC, every Redditor worldwide confronts the exact same deterministic $6 \times 6$ sonar matrix:
- Tap any open grid cell to emit four orthogonal sonar shockwaves (North, East, South, West).
- First-hit wave coupling: Each wave ray strikes at most the first signal core along its path, propelling it smoothly across the water until cushioned by the board rim, a riveted Reef Anchor (
■), or another Signal Core. - Harmonic Lock: Land all three colorblind-safe geometric cores—
▲ Solar,◆ Cobalt, and● Rose—simultaneously onto their matching phase rings within Par (4–6pulses)!
Four Emergent "Aha!" Tactics
Without adding complex rules, four deeply satisfying spatial tactics emerge naturally from the geometry:
- Multi-Surge Alignment (
⚡x2/⚡x3): Strike the orthogonal crossroads of two or three cores to drive multiple pieces home with a single tap. - Wave Shadowing: A closer core shields any core behind it along the same row or column.
- Recessed Brass Grooves (
/ \) & Weekend Phase Portals (◎): Ground-level brass tracks allow overhead sonar waves to pass straight through, while deflecting sliding cores by $90^\circ$ into crisp bank-shots. On Saturday & Sunday Master boards, paired inner-grid phase portals bend trajectories across the matrix. - Mutual Core Stoppers (
⚓): Slide one core into open water first so a second core uses it as a precision bumper to stop dead-center on a target ring.
Weekly Difficulty Cadence & Dual-Track Isolation
- Structured Weekly Rhythm: Monday–Tuesday (Calibration Protocol, Par 4), Wednesday–Friday (Refraction Protocol with brass bank-shots, Par 4–5), and Saturday–Sunday (Phase-Gate Master with linked portals, Par 5–6).
- Daily Challenge + Archive & Practice Vault: Today's Daily Challenge is strictly anchored to
postData.puzzleDate(so historical Reddit posts preserve their original day's puzzle and leaderboard forever!). Meanwhile, the built-in Vault lets players and hackathon judges binge past dailies or infinite procedural lab seeds (LAB-PAR4/5/6) in a strictly isolated sandbox.
Built Natively for Reddit (Reddit-y)
WAVELOCK was engineered from line one around @devvit/[email protected] and Reddit's social DNA:
- Zero-Scroll Inline Feed Card (
preview.html): Custom lightweight entrypoint renders a live miniature SVG sonar matrix,#Day Nbadge, live global solver count, average pulse metric, and personalized3/3 HARMONIZEDcompletion status right inside the feed—strictly enforcingoverflow: hiddenacross compact<440pxmobile cards and launching synchronously viarequestExpandedMode(event, 'game'). - 1-Click Spoiler-Free Comment Share (
reddit.submitComment): One click posts a dramatic, zero-spoiler pulse rhythm log directly into the Reddit post's comment thread (complete with#Day N, star rating,💎 FLAWLESSbadge,⚡x2multi-surge /🔀bank-shot markers, and optional>!spoiler!<tactical notes so players can debate routes without ruining the puzzle). Protected by Redis idempotency anti-spam locks, gracefulUSER -> APPfallback for unreviewed test builds, and 1-click clipboard copy. - Live Redis Distribution Curve, Streaks & Flawless Leaderboard: Real-time 6-bucket Redis histogram (
Par,+1,+2,+3,+4,+5+) shows exactly what percentage of Redditors you beat today (with gracefulPioneer #1 Solverhandling for the first finisher), alongside cross-day UTC streaks, a composite Top 10 leaderboard (netMoves→FLAWLESSzero-undo →solveMs), and a pinned#myRank (You)personal comparison row. - Automated
0 0 * * *Cron Scheduler & Mod Menu: Daily UTC cron job +onAppInstallauto-seeding + a 1-click Moderator Menu action (Publish Today's WAVELOCK Challenge), guarded by atomichSetNXlocks so retries never double-post. - First-Class Logged-Out Judge Experience: Anonymous visitors never hit a
401wall—they get full puzzle gameplay, local draft/undo recovery, hypothetical percentile comparisons, optimal solution step-by-step replay, and clipboard sharing (200 OKend-to-end).
Engineering & Exact Solvability Proof
A daily puzzle loses player trust the moment a generated board is unsolvable, ambiguous, or trivially spoofed. We solved all three mathematically:
- Exact
46,656-State BFS Proof (365/365Consecutive Days Verified): Because terrain is static during a puzzle, every board state maps bijectively onto $36^3 = 46,656$ ordered core triplets. Derived deterministically fromWAVELOCK-2026-FINAL-YYYY-MM-DDviaFNV-1a+Mulberry32, our generator executes an exhaustive level-order BFS over the exact transition graph paired with a 6-stage aesthetic sieve (zero dead-end traps, mandatory multi-core surge, mandatory bank-shot or mutual stopper, no consecutive same-cell spam, and tight convergence of1 <= optimalWays <= 3). Across a 365-day continuous benchmark (2026-11-01to2027-10-31), 100.0% of days pass with zero unsolvable boards in~6 ms/day. - Permutation-Symmetric Two-Phase Snapshot Physics:
When a single pulse propels 2 or 3 cores simultaneously toward intersecting cells or paired portal mouths, naive loop updates introduce array-index bias. Our engine resolves multi-core kinematics via a Two-Phase Snapshot Fixed-Point Solver, verified by
31,500+6-permutation fuzz tests to guarantee 100% order-independent determinism on both client and server. - Zero-Leak Authoritative Server Anti-Cheat:
GET /api/initatomically stampsstartedAtin Redis and stripssolutionDropsfrom the wire payload until solved (preventing DevTools network peeking). On completion,POST /api/submit-runreplays the full event log server-side while rejecting forged coordinates,<180ms/dropmacro bots, and tampered client clocks—without false-flagging fast human grandmasters who read the board before executing rapid taps.
Design & Accessibility Polish
- Editorial Print & Deep-Sea Instrument Aesthetic: Warm archival paper (
#F5F2EB) framing a matte abyssal slate aluminum chassis (#131B2E) with brushed brass refraction grooves (#D4AF37), full light/dark theme toggle, and stricttabular-numstypography. - Ghost Endpoint Preview + Touch 2-Tap Confirm: Hovering on desktop—or tapping once in mobile Tap-Confirm mode (toggleable to
Instantin the header)—projects real-time orthogonal dashed trajectories, $90^\circ$ groove turns, and color-matched ghost silhouettes showing exactly where every core will land before you commit a pulse. - Colorblind-Safe Dual Encoding & 44px Ergonomics: Okabe-Ito high-contrast palette paired with distinct geometric shapes (
▲Triangle,◆Diamond,●Circle). Every interactive button across360×640through1440×900meets strict≥ 44×44pxtouch targets with0pxviewport overflow. - 9-Channel Procedural WebAudio Synthesizer: Zero external MP3 assets—every sonar ping, cushioned reef thud, ascending chromatic brass bank-shot chime, tape-rewind undo, and C-major-9 harmonic victory arpeggio is synthesized in real time via WebAudio ADSR envelopes (with instant mute persistence and
prefers-reduced-motionsupport).
What's Next for WAVELOCK
- Community Sonar Blueprint Creator: Let Redditors craft custom $6 \times 6$ puzzles in-post—our 6ms
46,656-state BFS solver automatically verifies solvability, computes exact Par, and publishes verified player creations as playable community posts. - Automated Subreddit Streak Flairs: Syncing sustained
7-day/30-day💎 FLAWLESSstreaks directly to customizable Subreddit User Flairs. - Weekly Acoustic Relay Tournaments: Cooperative community par goals where a subreddit's combined
FLAWLESSsolves unlock bonus Sunday Master challenges.
Built With
- devvit
- express.js
- node.js
- react
- redis
- svg
- typescript
- vite
- vitest
- webaudio-api