INSPIRATION: Booth games need to be understood in five seconds, played in sixty, and remembered afterwards. Core Breach is a single-button timing game: a needle sweeps back and forth, and you lock it inside a shrinking green zone. Ten rounds, faster every time, one session lasts 60–90 seconds. No sign-up, no tutorial, no network — walk up and play.

WHAT IT DOES:

  • 10 rounds of needle-vs-zone timing. Each round the needle gets faster (0.90 → 2.52 sweeps/s) and the zone gets smaller (26% → 8%).
  • Scoring up to 1,000 points per round by precision, +250 for a dead-center PERFECT, combo bonuses for consecutive hits. A miss scores 0 that round.
  • Local leaderboards: top 10 all-time + top 10 today, stored in the browser (localStorage) — the board can be shown on a second monitor at the booth.
  • Fair timing: a lock is judged on the needle position as last drawn on screen, not on a later clock reading — what you see is what is scored.
  • Feedback: fading lock ring at the exact lock point, needle trail, zone edge ticks, gentle zone pulse, small shake on a miss, round dots.
  • Accessible: keyboard (SPACE/ENTER/R/M), mouse, and touch — the initials screen shows on-screen A–Z keys on touch devices; holding SPACE no longer auto-fires; prefers-reduced-motion disables shake/pulse; results are announced via an aria-live region.
  • Fully offline: all art is drawn on canvas, all sound is synthesized with WebAudio. Zero dependencies, no build step — open index.html and play.

HOW WE BUILT IT: Vanilla JavaScript, HTML, and CSS — one game.js (state machine, rendering, audio, leaderboard), no frameworks, no build step, works fully offline. Built in and inspected by IntelliJ IDEA 2025.3 (Ultimate build): headless code inspection ran twice (before and after the polish pass) with zero real defects found. The headless formatter is blocked on the licence — the project notes this honestly, and the code was verified instead with a zero-dependency Node playtest harness (29 checks: full playthrough, perfect path, reset-during-flash, Space-repeat guard, initials entry keyboard + touch, idle auto-return, reduced motion, HiDPI, leaderboard persistence — all PASS).

CHALLENGES WE RAN INTO: The hardest part was fairness: at round 10 the needle crosses an 8% zone in ~32 ms, so judging a lock from the keypress timestamp could punish a position the player never saw. The fix: judge the lock from the needle position of the last drawn frame. The second challenge was the booth itself — the game must survive strangers: reset during a lock flash, held keys, touch players with no keyboard, and a leaderboard that never needs the network.

WHAT'S NEXT:

  • Booth mode: attract-screen idle return (done — 25 s), plus a QR link to the online leaderboard.
  • Difficulty presets for different booth crowds.

Built With

Share this project:

Updates

Submission history