feat(packages): ludic.hints - a rail of things that are true now and can be acted on now: cards as an open registry (urgency, a glyph or an item's picture, the chip's line, three steps and how not to be here again) asked through a port whether each is true, the most urgent few once a pass in registry order within an urgency, a card opened off the rail, walked along it and put down when its subject stops being true, and "I know this" muting kept by the card's key (a key this build lacks is carried through); opened, closed, muted and unmuted as facts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1005a677f2
commit
fe9d28bf4e
12 changed files with 540 additions and 0 deletions
10
packages/ludic.hints/system.ludic
Normal file
10
packages/ludic.hints/system.ludic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# system.ludic - the rail as a system in PH_PRESENT: it only reads the world, and a trip saves
|
||||
# nothing of it (the mutes are the player's, kept wherever the game keeps its settings)
|
||||
function hn_tick(t: Tick) -> void { hints_tick(t.dt) }
|
||||
|
||||
export function hints_system() -> System {
|
||||
let s = system_new("hints", PH_PRESENT)
|
||||
s.reset = fn hints_reset
|
||||
s.tick = fn hn_tick
|
||||
return s
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue