Let me check the existing setup files.
The project is a standard Vite + React 19 + Tailwind v4 setup. I'll build PULSE — a neon geometric rhythm-runner: a cube auto-runs through a seeded synthwave track of spikes/gaps/platforms; you tap/click/press keys to jump with rhythm-game timing grades (PERFECT/GREAT/GOOD), combo multipliers, screen shake, particles, slow-mo death, beat-synced visuals, a procedural Web Audio soundtrack, pause/attract/game-over states, and a local high-score table.
First, install icons and set up the foundation files.
Now the stylesheet with the neon theme, then the core game modules (PRNG, high scores, particles).
Theme and persistence done. Now the pooled particle system (pre-rendered glow sprites, zero allocation in the loop) and the procedural Web Audio engine (sequenced synthwave track + SFX, beat clock for visuals).
Now the procedural Web Audio engine — a 126 BPM sequenced synthwave track with layered intensity plus synthesized SFX, and a beat clock the renderer can pulse to.
Audio engine done. Now the deterministic track generator — pattern library, difficulty tiers, scoring groups, and a finish gate.
Quick fix for the unused constant in level.ts.
Now the core game engine — simulation, rendering, input, juice, and state machine. This is the heart of the game.
Fixing the unused import and cleaning a self-assignment in the tick loop.
Engine in place. Now the React shell — HUD, start screen with high-score table, pause and game-over overlays with instant restart — plus App wiring.
Let me check main.tsx and then run the build.
The build passes. Now a careful review pass — I found a critical bug: the gap-fall death check uses bottom >= Infinity, which is never true (players would fall forever into voids). Plus hitbox tuning, pattern safety, and a focus bug fix.
Now the pattern safety fixes and the keyboard/focus fix.
Final refinements: throttle HUD writes to once per frame, tidy the floor cursor, and block the mobile long-press context menu.
Rebuilding to verify all edits compile cleanly.
A few gameplay-critical balance and logic refinements: per-item scoring groups (so multi-jump patterns grade each jump), a later autopilot takeoff, safer gap widths, and not recording zero-score runs.
One more improvement — teach the attract-mode autopilot about blocks and make rescue skips hop forward so the menu demo never visibly glitches.
Extending the tutorial ring visibility to last through all four aid hazards (they self-cull once passed anyway).
PULSE — Neon Beat Runner is complete and building cleanly. A geometric rhythm-platformer where a glowing cube auto-runs through a synthwave track, and every jump is judged like a rhythm game.
How it plays
- One-button action —
Space / W / ↑ / Enter or tap/click anywhere. Coyote time (90ms) + jump buffering (120ms) keep controls tight on both keyboard and touch.
- Quick-time scoring — each takeoff is graded against the apex-aligned window: PERFECT / GREAT / GOOD, each with its own popup, color, sound, and micro hit-stop on PERFECT. Combos build a multiplier up to ×3.4.
- The track — a deterministic ~68-second seeded course across 4 phases: singles → doubles, gaps, block platforms → triples, hop-gaps, and machine-gun runs, ending at a FINISH gate with complete bonus + confetti cannon.
Juice
- Trauma-based screen shake, slow-mo death w/ geometric shatter explosion, shockwave rings, screen flash, squash-and-stretch landings, airborne trail ribbon, dust on jump/land, sparkle bursts on clears, pulsing synthwave grid, beat-synced sun, and phase banners with stingers.
Audio
- Fully procedural Web Audio soundtrack: 126 BPM 16-step sequencer with kick/snare/hats/acid-bass/pads/arps and a dotted-8th delay. Intensity layers build as you progress. All SFX (jump, land, ratings, death, fanfare) are synthesized — no audio files, and the beat clock drives the visuals.
States & systems
- Animated start screen with attract-mode demo auto-playing the real track behind the menu
- Pause via
Esc/P, button, or auto-pause when the tab hides (audio suspends cleanly)
- Game over ("SIGNAL LOST") with instant restart —
R/Space/tap, no reload
- TRACK COMPLETE victory state for finishing all four phases
- Top-5 local high-score table (localStorage) on both menu and results screens, with NEW RECORD callout
Performance
- 120Hz fixed-substep physics (tunnel-proof collisions), capped delta, DPR clamped to 2, pooled particles with pre-rendered glow sprites (no shadowBlur), monotonic culling pointers for all level geometry, and HUD updates via direct DOM writes — no per-frame React re-renders. Runs locked at 60fps on desktop and mobile.
Files built: index.html, src/index.css, src/game/prng.ts, src/game/scores.ts, src/game/particles.ts, src/game/audio.ts, src/game/level.ts, src/game/engine.ts, src/Game.tsx, src/App.tsx