🎮 Play the open alpha: https://lancefall.pages.dev · community leaderboards live — play offline, or sign in with Discord / Google for a verified handle + cloud save (scores are client-reported; set a handle on the RANKS screen). Hosted on Cloudflare Pages; leaderboard backend on a Cloudflare Worker + D1 (
worker/). Redeploy the client withnpm run deploy.
🗝️ THE LAST KEY edition (June Solstice Game Jam — an ode to Alan Turing). The fall of Lancefall was an encryption: the Six scrambled the city's light into grey noise. You are the last key. Break each boss's cipher-lock — read the code and dash its glyph-cores in the decoded order — to decrypt the city back to its longest day. THE CHOICE on the final kill is the one cipher no machine can solve, only choose (the halting problem); the Mirrorblade is the imitation game. New this edition: the READ THE KEY cipher-lock mechanic, SOLSTICE PROTOCOL mode (every boss is a cipher), the DAYBREAK ultimate, THE CODEBREAKER decryption console, and a full Turing×solstice re-narration. memory = light-code · forgetting = encryption · remembering = decryption.
A neon dash-combat bullet-hell. Your only weapon is a momentum dash — charge it, release, and rocket through the swarm leaving a glowing trail that shreds everything in its path. Phase through a wall of bullets, skewer four enemies in one line, land, drift, recharge, repeat. Chain kills before the combo decays. Survive.
LANCEFALL is the playground's first juicy real-time action game — Geometry Wars meets Luftrausers meets a Hyper-Light dash-attack, running at 60fps in a single browser tab with zero downloads.
![]() |
![]() |
![]() |
![]() |
Top: FIRST LIGHT (the win frame) · a boss cipher-lock mid-decode. Bottom: bullet-hell + graze · THE CHOICE.
A coordinated pass over every gameplay/UX system, sitting underneath the cipher narrative — the dial that binds sight, sound and meaning now actually reads on screen, the waves breathe, the modes finally feel different, and a death isn't always the end.
- 🪢 COHERENCE binding layer — the soul dial now speaks in legible, a11y-safe beat-grade feedback: a graded on-beat dash lights a localized cyan/gold ring around your ship, flashes a HUD beat-pip, and pops "ON BEAT"/"PERFECT" — all player-anchored so they survive the frame-wide wash gates, with the one whole-screen effect (the felt FALL) dying under reduce-flashing, reduce-motion, and Clarity.
- 💔 The felt FALL — a dead combo chain now lurches the saturation wash down through the dial's own threshold (edge-triggered, never per-frame) and the narrator reframes it as the city forgetting a street; rebuilding the chain lights the lights back. A City Memory HUD meter and a coherence-bound spear that brightens with your momentum make the dial readable at a glance.
- 🌃 Dash-on-the-beat teacher — for a new player's first three descents the beat-ring auto-shows and a one-time "dash ON THE BEAT" nudge fires the first time they nail it, then retires — a soft teach, never a flipped default.
- 🌊 Longer-wave endless director — the opening wave is now ~70s, and each inter-boss wave builds to a crescendo via a stretch-swell keyed off time remaining (so the peak lands at the boss for any 70–120s wave), then breathes: a post-boss payoff lull keeps chaff off your reward, and a pre-boss calm lets each boss roar into a clean arena. The swell densifies cadence only — never speed — and never breaches the concurrency cap.
- 🔗 Richer combo economy — chains now survive lulls, boss fights, and clean dashes: grazing floors the decay window and trickles a fractional combo charge, the kill window grows with your streak (hot runs are more forgiving), a clean multi-kill dash buys extra grace on landing, and chipping a boss sustains the combo.
- 🎛️ ModeRules — the 6 modes finally differ — declarative per-mode rules give ARENA and BOSS RUSH cleartime + flawless (no-hit) completion scoring, turn NIGHTMARE into sudden death where the arena walls close in per boss and the ARMOR cushion is stripped, cap the Daily at a best-of-3 attempts, and serve NIGHTMARE/Daily a curated high-risk event pool — all routed through a separate event RNG stream so the Daily's waves stay bit-identical for everyone.
- 🎮 Select-then-PLAY title — every mode is now a selectable card you navigate with arrows or a d-pad; the selected card shows a Heat chip plus, for the Daily, its seed and a read-only mutator preview; one PLAY launches your persisted choice, and touch targets are sized for thumbs.
- 🛡️ ARMOR survivability cushion — a per-run shield buffer (shown as HUD pips) absorbs a would-be-lethal hit before LAST BREATH, shoving nearby bullets aside to open an escape lane rather than clearing the screen; clearing a boss regenerates one shield, and the Heat ladder strips shields as a new "shields lost" column for the true one-hit veteran tier.
- 🧬 INSPECT a build + nemesis debrief — paste a friend's Build DNA code to read back exactly what they ran (ship, Heat, perks, fusions, relics), the WARDEN grows a telegraphed gold rear weak-point you flank for ×3 damage, and the game-over screen now names the boss you keep falling to.
You don't shoot. You dash.
- Hold to charge a thrust (mouse / Space / right-trigger), release to fire it in your aim direction.
- While dashing you're invulnerable and your trail is a spear — it kills everything it touches.
- Dashing costs a segment of a 3-segment stamina bar that auto-refills, so you can't spam it…
- …unless you graze — skimming bullets without dying tops your stamina back up and rewards staying dangerous.
- Killing several enemies in one dash builds a combo that decays fast. Greed vs. survival.
- Every ~70s a boss rises and forces you to read a bullet pattern and find the opening.
- Every few waves you draft a perk (3 of 11, they stack) — chain explosions, longer lance, graze-burn, nova dash, siphon, time-thief… — and watch your build snowball into a perpetual-motion massacre.
- ⚔️ Charge-dash combat — swept-capsule spear collision, i-frames, momentum carry, commit-on-release routing.
- 🎮 8 modes across 6 title cards — SOLSTICE PROTOCOL (the campaign — every boss is a cipher-lock you READ THE KEY to break), Casual (the no-pressure on-ramp that lets anyone reach the ending, off the leaderboards), Endless, Arena (a hand-built 15-wave / 6-boss gauntlet you can actually win), ECHO OF THE FALL (the seeded daily — same seed for everyone, best-of-3), WEEKLY SIEGE (one seed for the whole world all week, its own board), Nightmare (sudden-death, the walls close in, no ARMOR, +75% shards), and Boss Rush (all six bosses back-to-back).
- 💀 12 enemy archetypes + elite Champions + 6 bosses, all shape-coded (colorblind-friendly): darters, orbiters, splitters, turret-bloomers, lancers (snipers), bombers, wisp swarms, drifters (arc-fan zoners), shades (teleporting ambushers), brooders (spawners), the gap-wall HERALD and homing SEEKER, gold-aura Champions — and a boss cast of cipher-keepers: Warden, Weaver, Beacon, Mirrorblade (the imitation game), THE HOLLOW (the one-time key — damage it only through its Clone-Sync flash), and THE SOVEREIGN (the master cipher: dash its orbiting cores in the decoded order to crack the crown).
- 🗝️ READ THE KEY — cipher-locked bosses — in the campaign, every boss is armored until you read its substitution legend off the HUD and dash its glyph-cores in the decoded order (the Sovereign is always the master cipher). Between runs, THE CODEBREAKER console decrypts the transmissions of the fall word-by-word — spend Memory Fragments, and a cracked word resolves everywhere — with recovered lore read back in the CODEX archive.
- 🏙️ THE CITY REMEMBERS — the fall, re-narrated — 16 authored citizens wake as you decrypt and fight, and the six biomes are the city's districts. The final kill is THE CHOICE — the one cipher no machine can solve, only choose (the halting problem) — and THE LAST WORD ending names every fate. Win and the screen breaks into FIRST LIGHT: the longest day.
- 🔥 Heat ascension — an 8-level prestige ladder (COLD→MELTDOWN) that stacks difficulty for up to ×3.2 score. The veteran score-chase.
- 🎲 Run mutators + mid-run events — the Daily rolls 1-2 mutators (Glass Cannon, Bullet Storm, Fog of War, Berserk…) for a distinct identity; mid-run shrines/gambles/treasures/cursed pacts offer pause-and-choose risk/reward.
- ◈ Build archetypes + ☠ cursed relics + ⧬ build DNA — pick a build path that biases your draft; grab double-edged relics for high-risk power; copy your whole build as a shareable code.
- 🌍 Evolving biomes — a run cycles through THE COURT → THE EMBERWALL → THE VAULTS → THE BLOOMGARDENS → THE WARRENS → THE NULL, each retinting the world, shifting the enemy mix, and twisting the rules.
- ⬆️ Permanent meta-progression — a 17-node UPGRADES tree (regen, reach, graze, score/shard gains, an extra perk card, head-start perks, a per-run revive, plus a 5-node PARRY mastery branch) bought with banked shards. The "one more run" engine.
- 🚀 6-ship roster — Lance (balanced), Tempest (nimble), Glaive (glass cannon), Bastion (tank), Phantom (knife-edge), and Reaver (bloodthirsty — dash-kills refund stamina, weak graze: live by the chain). Each a genuinely different playstyle; all but Lance are shard-unlocks.
- 🃏 In-run perk draft + fusion evolutions — 3-of-11 stacking upgrades that compound into wild builds (offensive and defensive — Riposte shatters bullets on the dash), plus 7 evolutions (IMPALER, SUPERNOVA, PERPETUAL, WRAITH, INFERNO, JUGGERNAUT, AEGIS): stack the right recipe and a build-defining fusion capstone unlocks as a guaranteed glowing draft slot.
- 🏅 Optional online leaderboards + accounts — per-mode global boards + a shared daily, served by a deploy-ready Cloudflare Worker + D1 (
worker/). Link a Discord or Google account for a verified, impostor-proof handle and cross-device cloud save. Offline-first: the game is identical without it; setVITE_LEADERBOARD_URLto light up the RANKS screen. - 🎨 Cosmetics — 6 palette themes, 8 dash-trail unlocks, per-ship Solstice ship-skins, and a biomech enemy-skin gallery (per-enemy/per-rarity, achievement-unlocked), plus an animated profile avatar · 🏆 achievements + a lifetime-stats DOSSIER · a rich run-summary debrief (death cause, PB delta, achievement chips).
- 🌀 The juice stack — parallax starfield + nebula, trauma shake, hitstop, slow-mo, bloom, chromatic aberration, dash-trail ribbons,
+scorepopups, combo-tier callouts (RAMPAGE→LEGENDARY), velocity-lean camera, punch-zoom, screen flashes. - 🔊 Hybrid audio (Web Audio) — free-licensed authored beds (an AURORA arena suite + a WARDEN boss gear-change) play under a procedural reactive layer that carries the recurring LANCE THEME motif, the dash-on-beat snare, and the COHERENCE shimmer; vertical intensity opens the bed's filter with flow. Sampled combat SFX layer over the synth transients. Every shipped asset is CC0/CC-BY/Pixabay with a machine-checked provenance ledger; the procedural engine is also the resilient fallback when assets are missing (a run is never broken). Combo-pitched thunks, per-boss music themes, victory stinger.
- 🎮 Keyboard + mouse, gamepad, and touch (twin virtual sticks on phones).
- ♿ Accessibility — reduce-flashing, reduce-motion, colorblind shapes, screen-shake slider, HUD scale, full volume controls.
| Action | Keyboard / Mouse | Gamepad | Touch |
|---|---|---|---|
| Move | WASD / arrows |
left stick | left thumb-zone |
| Aim | mouse | right stick | drag right thumb |
| Charge-dash | hold Space / J / left mouse, release |
hold A / RT, release |
hold + release right thumb |
| Parry (aim-arc deflect) | K / right mouse |
B |
— |
| DAYBREAK (ultimate) | F / Shift |
LB |
— |
| Pause | Esc / P |
Start | pause button |
| Pick perk | 1 2 3 / click |
A | tap |
| Restart (game over) | R / Space |
A | tap AGAIN |
- Vite + vanilla TypeScript (no framework), Canvas 2D, Web Audio API.
- Fixed-timestep accumulator loop (sim @ 60Hz, render interpolated) decoupled from a single global
timeScaleso hitstop and slow-mo layer for free. - Object pools for every entity (bullets, enemies, particles, gems) — zero allocation in the hot path.
- Uniform spatial hash broad-phase + segment-vs-circle narrow-phase for the dash spear (swept so fast dashes never tunnel).
- mulberry32 seeded PRNG for deterministic daily runs.
- Cheap chromatic aberration via three channel-tinted offscreen composites; bloom via
globalCompositeOperation = 'lighter'.
sim (pure, tested) juice / io (impure) glue
───────────────── ─────────────────── ────
rng vec pool scheduler shake game.ts ← orchestrator + loop
collision dash particles audio main.ts ← bootstrap
combat perks waves render input ui save world.ts ← state + pools
enemies boss tune
The sim layer is DOM-free and unit-tested; tune.ts holds every gameplay constant in one place for tuning.
Authored beds + sampled SFX play over the procedural engine. The whole authored pipeline is pure, unit-tested, and fronted by a build-time gate:
npm run audio:conform # trim each master to a bar-aligned loop + equal-power seam + loudnorm → 48 kHz WAV
npm run audio:encode # WAV → Opus(.ogg) + MP3, mirrored under public/audio/flagship/
npm run audio:validate # 48 kHz, integer-bar loops, ≤ 8 MB, + the provenance/license gate (fails the build otherwise)- Sourcing & licensing. Every shipped asset is recorded in
public/audio/flagship/provenance.jsonwith an allowed license (CC0 / CC-BY / Pixabay / royalty-free); the validator hard-rejects NC / SA / GPL / AI / unlicensed material. CC-BY credits live indocs/audio/CREDITS.md(and belong on the in-game credits screen before shipping). The shortlist + how to swap a track:docs/audio/flagship-sourcing-brief.md. Masters are gitignored; only the encoded runtime ships. - Determinism. The beat → grade → COHERENCE chain is a cosmetic
frame()-layer sink that never touchesstep()/world/ seeded RNG, so adaptive per-track tempo can't perturb a Daily run.
npm install
npm run dev # http://localhost:5197
npm run build # production bundle (~290 KB gzipped, excl. fonts)
npm run previewnpm test # 1,400+ unit tests — the pure simulation + the authored-audio engine/pipelineTests cover the deterministic core: RNG determinism + daily seeds, vector math, spatial-hash + segment/circle collision, charge-dash kinematics + stamina, combo/score/graze economy, the 11-perk draft (stacking + max-stack exclusion), the 7 fusion evolutions (recipe gating + stat application + draft injection), elite-Champion spawn chance + eligibility, the 6 ship stat profiles, achievement unlock logic, and the wave-director intensity curve.
Source-available, non-commercial. Licensed under the PolyForm Noncommercial License 1.0.0 — free to play, read, fork, and learn from for any non-commercial purpose; all commercial rights are reserved by patij212. Bundled third-party assets (the CC-BY / CC0 / Pixabay audio) keep their own licenses — see docs/audio/CREDITS.md.
Copyright © 2026 patij212
Built in Claude's Playground. Designed via a multi-agent concept tournament, implemented and tuned in one focused session, reviewed by an adversarial multi-agent pass.




