Inspiration
The best daily rituals combine instant tactile curiosity with shared community comedy. While word puzzles test vocabulary, everyone shares the primal urge to uncover what lies hidden beneath the surface. We built STRATA natively for Reddit so thousands of players can excavate the exact same daily archaeological trench—balancing greed for an Under-Par score against the hilarious heartbreak of cracking a fragile relic on the final swing.
What it does
STRATA is a zero-luck, zero-scroll daily seismic excavation puzzle built on Devvit Web:
- Dual-Layer Zero-Luck Deduction: Every UTC day generates a deterministic
7x7dig site with outer row/column seismic gauges (Relic + Bonus Quartz Geodes, with satisfied lines auto-marking✓) paired with cleared bedrock proximity numbers (1–4counting 4-way touching Relic tiles) and a Move-0 calibrated START tile. - Tactile Tools & Risk vs. Precision Physics: Switch between the Brush (
-1safe peel), Hammer (-2center,-14-way cross to beatParon2–3dot stone, fracturing fragile1-dot or exposed relics), Sonar (3x3non-destructive scan costing+1move), and Pin Flag (Fkey or toggle) to eliminate guesswork. - Museum Progression & Lore Shelf: Unearth 21 distinct procedural ancient artifacts (e.g. Snoo Figurine, Broken Core, Golden Karma Coin) organized across 3 weekly exhibition cases with persistent archaeological notes and rarity tiers.
- Bury Mode & Challenge Creation: After beating the daily trench, players can open the built-in level designer, bury custom relic configurations, arm stone layers with explosive fossil traps, and export a 30-character trench code to challenge friends in the comments.
- Deeply Reddit Social Loops: Finish a trench to copy spoiler-free Reddit markdown dig summaries (
[STRATA #042] 14/16 Par (-2) | 🏆 Intact), view the community Crime Scene Heatmap showing where Redditors cracked today's relics, and unlock automated subreddit User Flairs based on current excavation streaks.
How we built it
- Full-Stack Devvit Web: Built with TypeScript, React 19, and Vite running directly within Reddit's native inline and expanded feed webview canvas.
- Custom Procedural Audio & Graphics: High-DPI responsive HTML5 Canvas rendering featuring layered stone depth textures, particle fracture bursts, and zero-asset procedural Web Audio synthesis (crunchy gravel brush scrapes, crisp chisel pings, and bass-heavy seismic thuds).
- Serverless Redis & Telemetry: Trench generation seeds, daily Par thresholds, community heatmap aggregate matrices, and player streaks are synchronized via Devvit's serverless Redis backend and instrumented with Devvit Journeys analytics.
- Zero-Luck Deterministic Solver Engine: Every daily puzzle is validated server-side by an automated deduction solver to guarantee that logical deduction alone can clear the trench without blind 50/50 guesses.
Challenges we ran into
- Cross-Platform Responsive Viewports: Fitting a 7x7 grid, dual density gauges, 4 active excavation tools, streak meters, and museum drawers within both Reddit mobile webview modals and ultra-wide desktop feeds without forcing page scrolling.
- Tactile Balancing: Fine-tuning the heavy hammer's damage falloff so aggressive players can race for Under-Par speedruns while keeping the high-stakes danger of accidental relic fracture palpable.
- Reddit Comment Spoiler Formatting: Formatting one-click shareable markdown summaries so community players can boast their Par scores and relic recovery without spoiling bedrock numbers or relic coordinates for other subreddit diggers.
Accomplishments that we're proud of
- Delivering a snappy 90-second daily brain-teaser that feels as satisfying to touch and hear as real stone masonry.
- Creating a complete, self-contained daily ecosystem with zero external assets, instant zero-login Reddit auth, and seamless feed embedding.
- Implementing the interactive Bury Mode allowing the subreddit community to design and share endless custom archaeological puzzles directly in the comments.
What we learned
Building natively on Devvit Web revealed the incredible potential of interactive Reddit posts. Designing games specifically around Reddit's asynchronous community dynamics—where discussions, shared failures, and spoiler-safe flexes happen right below the canvas—creates a uniquely sticky player loop.
What's next for STRATA
- Weekly Community Boss Expeditions: Massive multi-layer collaborative trenches where an entire subreddit community digs together to excavate colossal prehistoric skeletons.
- Custom Subreddit Theme Packs: Allowing moderator teams to skin the bedrock, relics, and museum artifacts with subreddit-specific lore and custom user flairs.
Built With
- devvit
- html5
- node.js
- react
- redis
- typescript
- web-audio-api