Inspiration

What it does

How we built it

Inspiration

At live event booths, spectators want a game they can understand in three seconds, play in thirty, and immediately replay to beat the person standing next to them. Complex demos stall in a crowded queue. GhostPeek turns reaction timing into a direct visual race against a live Ghost cursor.

What it does

GhostPeek is a 30-second browser mini-game built for event booths and laptops:

  • Race the Ghost: Blue targets peek out from four tactical cover lanes (LEFT FLANK, MID ARCH, SITE COVER, UPPER RAMP). A visible cyan Ghost reticle moves from the previous peek to the new target in real time—click before it arrives to win the duel (-ms FASTER) and stack up to a 4x streak multiplier.
  • Trigger Discipline: Red HOLD decoys punish blind clicking and reward holding fire.
  • Three 10-Second Rounds: Every run packs sixteen events across Pistol Rush, Site Retake, and 1v2 Clutch.
  • Race the #1 Booth Player: Saving a top score stores that player's actual per-target reaction timings in localStorage, letting the next visitor switch between vs Pro Ghost and vs #1 Booth Fan.
  • Shot-by-Shot Review & Auto-Reset: The end card shows every event's millisecond result along with a toggleable booth auto-reset timer.

How we built it

  • Scenario Pipeline (Python & PyCharm): Built scripts/build_scenarios.py in PyCharm using the Python standard library to generate distance-calibrated reaction benchmarks (proGhostMs) and non-overlapping coordinates into src/data/scenarios.json, with optional CLI support for local GRID-style JSONL logs and unittest coverage in tests/test_scenarios.py.
  • 60fps Arena (Phaser 3 & TypeScript): Built the radar arena, tactical cover geometry, ghost cursor race, and visual feedback in Phaser 3 with Vite.
  • Original Audio & Visuals: All arena visuals are drawn in Phaser, and all sound effects are generated procedurally using the Web Audio API with zero external game assets.

Challenges we ran into

Early reaction benchmarks felt too fast for full-screen browser and laptop trackpad play, leaving players with zero duel wins. Calibrating proGhostMs to travel distance between consecutive peeks and adding a slightly more forgiving hit radius made duels fair and competitive.

Accomplishments that we're proud of

  • Fast browser-only architecture deployed on Vercel with local booth fan ghost replay via localStorage.
  • Clean separation between the Python scenario generator and the TypeScript/Phaser 3 game loop, backed by automated unit tests and type checking.

What we learned

Showing an opponent cursor moving across the arena makes timing duels clear and intuitive right away rather than hiding speed behind a number alone.

What's next

  • Adding a local two-player mode for side-by-side play.
  • Expanding the CLI script to convert local match event logs into new 30-second scenario sets. ## Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for GhostPeek

Built With

Share this project:

Updates

Submission history