feat(packages): ludic.fishing - cast, bite, the reel's fight and the landing, species as an open registry, the record in its own save section, facts for bait, catch and a lost fish
A line is cast at a point the FishingWorld port says is water (depth, or afloat), bait (asked, then said as FISHING_BAIT_USED for the game to take) halves the wait, the bite picks a species - a legend only on a lure, likelier in deep water and with skill, else an everyday one by weight - and the fight is a marker, a green band that moves above Relaxed and closes on Hard or for a fish whose data says so, a Gentle ring of one press, and a legend's runs and the line it takes back. Length and weight come from FishSpecies data. The package never draws, speaks or touches a pack; every step is a FishingFact (CAUGHT, BAIT_USED, LINE_SNAPPED, SLACK, MISSED, ...). Its dice are its own Rng. A legend on Gentle fights as a legend (the old ring lost him at once). Uses ludic.base only; thirteen tests over a fake lake. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
12cfcb10ac
commit
80f3468ff8
11 changed files with 787 additions and 0 deletions
12
packages/ludic.fishing/index.ludic
Normal file
12
packages/ludic.fishing/index.ludic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# ludic.fishing - one angler's line: the game says where the water is and how deep, what tackle
|
||||
# is in the pack and how good the rod is; the package runs the fight and reports what happened
|
||||
module ludic_fishing uses ludic_base
|
||||
numbers float
|
||||
import "ludic.base"
|
||||
import "kinds.ludic"
|
||||
import "ports.ludic"
|
||||
import "state.ludic"
|
||||
import "fight.ludic"
|
||||
import "verbs.ludic"
|
||||
import "run.ludic"
|
||||
import "system.ludic"
|
||||
Loading…
Add table
Add a link
Reference in a new issue