Inspiration
We wanted to capture the instant, zero-friction dopamine loop of viral one-thumb mobile arcade defense games—magnetic currency vacuums, diegetic floor upgrade pads, and escalating boss waves—and reimagine it as an authentic, zero-bloat Daily Cyber-Infrastructure Defense experience native to Reddit's Interactive
What it does
FIREWALL BREACH drops you directly into a 90-second server room defense run as a SysAdmin Drone guarding Central Core 127.0.0.1:
- One-Thumb Arcade Control: Drag anywhere on mobile (floating dynamic virtual thumbstick) or use WASD/Arrows on desktop.
- 0:00–0:20 (Boot & Harvest): Auto-mine Compute Shards from Overclocked Server Racks, auto-fire pulse rounds at incoming Scout Bots, and step onto diegetic floor pads to deploy Rate-Limiter Turrets and upgrade your Pulse Blaster.
- 0:20–0:55 (Expansion & Power Routing): Unlock adjacent Server Bays to expand the arena and reveal high-yield racks. Pick up and route limited Power Cores (2–4) between turrets and Cryo-Firewall Gates to supercharge them into Arc-Tesla Chain Turrets mid-wave.
- 0:55–1:30 (Rootkit Boss & Extraction): Quarantine the Rootkit Boss and Packet-Flood Swarmers before
127.0.0.1hits 0 HP. - Daily Protocol & Replayability: Every UTC day deterministically rotates:
- Arena Topology (
North-South Corridor,East-West Wing, orCross-Vault) - Daily Modifier (
Overclocked Racks,Turret Surge,Hyper-Swarm, orCleanroom Protocol) - Threat Mix (
Balanced,Trojan Phalanx,Splitter Cascade,Packet Flood) - Rootkit Boss Mutator (
Swarmer-Mother,Shield-Regen, orPhase-Blink) - Visual PCB Theme (
Cyan,Amber,Magenta, orEmerald) ## Native Reddit Integrations (Bonus Features)
- Arena Topology (
- Daily Loop & Streaks: Tracks consecutive days played (
streakCount,lastPlayedDate,dailyCompletedDate) per user in Redis. - Snoovatar Integration: Fetches the player's Reddit Snoovatar (
reddit.getSnoovatarUrl) for the inline splash card and post-run Incident Report Card. - Reddit Comments Integration: One-tap POST COMMENT on the Incident Report Card (
POST /api/run/share) posts verified run telemetry directly to the post's comment thread viareddit.submitComment. - Subreddit User Flair: Automatically awards/updates subreddit user flair (
🔥 Xd Streak | Rootkit Quarantined) viareddit.setUserFlairon victories and multi-day streaks. - Community Quarantine Meter: Post-level Redis state aggregates shard contributions and clears from every Redditor playing that post.
How we built it
- Client (
src/client/): Phaser 3 (BootScene,ArenaScene,HudScene) with 2x high-DPI procedural vector textures, additive glow halos, quadratic Bezier shard vacuum trails, hit-stop micro-freezes, screen shake, and a zero-asset procedural Web Audio API synthesizer (SynthAudio.ts). - Server (
src/server/): Devvit Web Node.js HTTP server with Redis persistence (db.ts) and deterministic event-log anti-cheat verification (verify.ts) that validates run duration, monotonic action timestamps, shard spend/income bounds, and boss kill timelines. - Shared (
src/shared/): Strict TypeScript API contracts (api.ts) and deterministic daily seed/perk catalogs (perks.ts).
Challenges we ran into
- Keeping 60fps arcade responsiveness and crisp touch input (
touch-action: none, floating virtual thumbstick, DPR camera zoom) inside Reddit's mobile iOS/Android webviews without asset bloat. - Designing a daily seed system that materially changes arena geometry, threat mix, boss behavior, and color palette each day while keeping runs fair and verifiable server-side.
What's next for Firewall Breach
- Public App Directory release for
r/GamesOnRedditand tech/sysadmin subreddits. - Weekly Sector Bosses and community-wide Quarantine Milestones that automatically spawn the next Sector post.
Built With
- devvit
- devvit-web
- esbuild
- phaser.js
- redis
- typescript
- web-audio-api