Skip to content

douvy/hooping

Repository files navigation

Hooping

Six levels, one ball per level. Make the shot to advance. Miss and you start over!

Play it at hooping.io.

How to Play

Drag back anywhere and let go to shoot. Pull further for more power. You get one shot per level. Space repeats your exact last shot.

The physics are deterministic. The same pull always produces the same bounce, so every level has an answer and your hands are the only variable.

Development

pnpm install
pnpm dev       # game at localhost:3000
pnpm test      # physics + level tests
pnpm hoopsim   # run-depth simulation: does depth track skill?

The simulation in lib/hoop.ts is RNG-free. Levels are verified by tests: every level is solvable, no level is too generous, and no level's answer sits on the power cap. scripts/gauntlet.mjs models a practiced player with gaussian finger noise to check that full runs feel like skill rather than dice.

About

basketball mini game: six levels, one shot each, miss and you start over!

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages