Inspiration
A booth game has a different job from a normal game. Someone walking past has to understand it in five seconds, the line has to keep moving, and the people waiting should want to try next. The hackathon theme, "Sky's The Limit", gave the idea: a glider that climbs as high as it can in one minute.
What it does
Updraft is a one-button, 60-second sky game for Cloud9 booths and events.
- Hold to slow down and climb, release to dive and gain speed. Space, Enter, a click, a touch screen or a single arcade button all work.
- The only real way up is rising air: shimmering columns with a cumulus cap on top. Slowing down inside lift and speeding up between thermals is the same "speed to fly" trick real glider pilots use, so beginners have fun at once while good players keep finding better lines.
- Rings build a combo up to x10. Storm clouds knock you down and reset it.
- Score = highest altitude in meters + ring points. The sky turns from light blue to deep space as you climb.
Made for a booth
- Exactly 60 seconds per round. A crash never ends a round early, so staff can plan the queue: one player per minute.
- Attract mode: an autopilot flies behind the title screen and today's top ten while nobody is playing.
- Arcade initials with the same single button: letters scroll by themselves, one press locks each.
- Daily leaderboard saved on the booth device, one board per event day.
- Kiosk mode (
?kiosk) hides the cursor; staff shortcuts:Ffullscreen,Mmute,Shift+Rtwice clears today's board. - One 22 KB HTML file. No downloads, no server, all sound synthesized with WebAudio, so it runs offline on any booth laptop or tablet.
How we built it
- Plain JavaScript and Canvas 2D, bundled with esbuild into a single file.
sim.jsholds the flight model and world generator. It is pure and deterministic (seeded PRNG), so the game, the attract-mode autopilot and the tests share the same code.- A balance test plays 200 simulated rounds with different input styles. It checks that a good pilot clearly beats random button mashing, and that holding the button forever or never pressing it cannot win.
JetBrains tools
- WebStorm 2026.3 is the project IDE; the
.ideaproject and inspection profile are committed to the repo. - WebStorm's code inspections (run headlessly with
inspect.sh) found 30 issues on the first pass, including wrong argument types passed to CanvasfillText, numbers assigned to string style properties, unused exports and a pointless arithmetic expression. After the fixes 18 remain, all expected in this setup (CSS classes added at runtime, the dev-only script path that the build inlines, packages not installed on the inspecting machine). - WebStorm's command-line formatter (
format.sh) checked the sources.
Challenges we ran into
The first flight model rewarded random button mashing more than skill. Rebuilding it around a glider's real energy trade (height only from rising air, sink rate growing with speed, slowing down converting speed into a short climb) and writing the balance test first fixed it.
Accomplishments that we're proud of
A game that a stranger can play in five seconds and that still has a real skill to master, in a file small enough to email.
What we learned
Designing for the queue (fixed round length, attract mode, one-button name entry) matters as much as designing the game itself.
What's next for Updraft
A two-player split mode for stage events, a QR code on the results screen to share a score, and a shared online leaderboard across booths.
AI tools
Claude (Anthropic) helped as a coding assistant under my direction. The game design and the booth requirements are mine.
Built With
- canvas
- esbuild
- html5
- javascript
- node.js
- webaudio
- webstorm