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 engineresolve_hunt(hit, shots_fired), and enables the kit'shunterfeature. Retires the b1-basedfinish_huntand the now-unusedShotPurpose::Hunt.
Review fixes folded in
- Tailwind: add
minigames-kit/srcto the@sourcepaths and regenerateassets/tailwind.css, sogrid-cols-2/py-5(used by QuickDraw, which has no inline fallback) are no longer purged — the gunfight layout stays intact. - Saves: bump
SAVE_VERSIONto 2, since droppingShotPurpose::Huntmakes a v1 save written mid-hunt undeserializable; the bump discards stale saves cleanly instead of silently resetting to a fresh game.
Also
- Adds a
justfilewith per-game release/devdx serverecipes.
Testing
cargo test -p oregon-trail→ 17 passed (hunt-path tests migrated toMode::Hunt/resolve_hunt).cargo test -p minigames-kit --features hunter→ green.
🤖 Generated with Claude Code
Last updated 2026-06-10
Links to this note
Credits
Merged pull requests, newest first.