Wire the Hunter minigame into Oregon Trail's hunting

Wire the Hunter minigame into Oregon Trail's hunting

#9 in Riparion/riparion-retro — merged 2026-06-09

Summary

  • Replaces the QuickDraw word-tap with the minigames-kit Hunter shooting gallery for the "Go hunting" action; gunfights (bandits/wolves/riders) keep QuickDraw.
  • Marksman self-rating now scales the rounds the hunter brings (better self-rating → fewer rounds), preserving the original's self-handicap.
  • Adds Mode::Hunt + screens/hunt.rs, an engine resolve_hunt(hit, shots_fired), and enables the kit's hunter feature. Retires the b1-based finish_hunt and the now-unused ShotPurpose::Hunt.

Review fixes folded in

  • Tailwind: add minigames-kit/src to the @source paths and regenerate assets/tailwind.css, so grid-cols-2/py-5 (used by QuickDraw, which has no inline fallback) are no longer purged — the gunfight layout stays intact.
  • Saves: bump SAVE_VERSION to 2, since dropping ShotPurpose::Hunt makes a v1 save written mid-hunt undeserializable; the bump discards stale saves cleanly instead of silently resetting to a fresh game.

Also

  • Adds a justfile with per-game release/dev dx serve recipes.

Testing

  • cargo test -p oregon-trail → 17 passed (hunt-path tests migrated to Mode::Hunt/resolve_hunt).
  • cargo test -p minigames-kit --features hunter → green.

🤖 Generated with Claude Code

Last updated 2026-06-10