Inspiration

Booth games live or die in the hand-off. The person in the seat has a minute; the people in line are watching and deciding whether to try. We wanted a game where the line is part of the game: every finished flight becomes a visible rival for the next pilot.

What it does

You fly the Kestrel W60 down an alpine viaduct for exactly 60 seconds. Catch a signal in a blue ring, cross one lane and deliver it through the lime frame. Clean single crossings earn a bonus, streaks multiply up to 5×, barriers cost points. Flying straight earns nothing — an idle run scores 0.

When you finish, your real inputs are saved as an anonymous echo. The next pilot races a translucent copy of your flight with a live score gap. A second monitor shows live timing and the day's top ten, so spectators can follow the duel. Everyone flies the same route that day, three sectors that get faster. No accounts, no internet needed at the booth: start, play, score, "Next pilot", repeat.

How we built it

  • Three.js renderer with a custom flight camera that is unit-tested against the real aircraft model at eight viewport sizes, so the plane never leaves the frame on phones or monitors.
  • Deterministic course and scoring clock (src/game.js). The echo replays stored inputs through the same clock, so it lands on exactly the same score — verified per instant in tests.
  • Original aircraft generated by a Blender Python script; alpine panorama and deck textures baked locally with NumPy. No stock art or sponsor assets.
  • Live spectator timing via BroadcastChannel, saved ranks in localStorage; synthesized audio, off by default.
  • 22 unit tests plus an end-to-end Playwright suite on a real GPU: a full round, echo duel, second monitor, reload persistence, storage denied, touch and rotation, zero external requests. CI runs the tests before every GitHub Pages deploy.

Built with JetBrains

The final feature was built in WebStorm with JetBrains Air and the Junie agent. Booths often run on arcade sticks, but the game only read the keyboard. One prompt in Air asked Junie for Gamepad API support with strict rules: one lane step per press, no auto-repeat, no change to scoring. Junie read the game loop, added a pure readSteer() module, wired it into the existing frame loop, wrote unit tests and ran them (21 pass).

Reviewing the diff in the IDE, I found a booth-specific problem: one A press on the result screen started the next pilot instantly, so someone still mashing the controller could skip saving their score. I asked Junie for a 1.5-second guard; it added a testable helper and a boundary test (22 pass). I then stepped through readSteer() at a breakpoint in the WebStorm debugger (a stick at 0.49, just under the deadzone, must not move a lane) and committed and pushed from the IDE. CI re-ran the tests before deploying. Session log: AI_SHOWCASE.md.

Challenges we ran into

The first version could score 2,325 points with no input at all, because gates happened to line up with the start lane. We redesigned scoring so a delivery must connect two different lanes, and added a test that an idle pilot scores 0 in every lane across eight daily routes. Keeping the replay exact when frames drop was the other hard part: the echo follows the scoring clock, not the frame rate.

Accomplishments that we're proud of

A full round measures 60 s of wall-clock time on a real GPU at 60 fps, the echo reproduces a 22,560-point flight exactly, and the game runs offline with zero network requests.

What we learned

For a booth, the loop around the game matters as much as the game: one-button restart, a reason for the next person to try, and something for the crowd to watch.

What's next

A playtest with a physical arcade stick, a measured low-end GPU mode on the event PC, and first-time player tests at a real booth.

Try it

Built With

Share this project:

Updates

Submission history