feat(ludic.steps): chapters of steps, their kinds, progress and a party's pooled shares
A step is (kind, param, need) and a question about state: a kind has a
shape (yes, a count, a mask counted, every bit of a mask) and a pool
(world, any, sum, or, max, each), handed in by the game as StepsKind
records. An arc is chapters of up to STEPS_PER_CHAPTER steps; steps_check
sticks each met step of the current chapter (STEPS_MET) and opens the
next when all are (STEPS_CHAPTER), so a step met before its chapter
ticks at once. With company each seat's shares are held per chapter,
pooled as the kind says (steps_met, steps_party_got), counted for an
EACH step (steps_each, steps_lacking), and a leaver takes theirs along.
Port: StepsWorld { value(kind, param, player) (required), party,
present }. The package knows no kind's meaning and no chapter's words.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4318adc98c
commit
31e6740033
10 changed files with 719 additions and 0 deletions
11
packages/ludic.steps/index.ludic
Normal file
11
packages/ludic.steps/index.ludic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# ludic.steps - a step is a question about state, answered by the game through a port; a chapter
|
||||
# is a table of steps; the current one ticks its steps as they are met and moves on when all are
|
||||
module ludic_steps uses ludic_base
|
||||
numbers float
|
||||
import "ludic.base"
|
||||
import "state.ludic"
|
||||
import "kinds.ludic"
|
||||
import "arc.ludic"
|
||||
import "check.ludic"
|
||||
import "party.ludic"
|
||||
import "each.ludic"
|
||||
Loading…
Add table
Add a link
Reference in a new issue