feat(ludic.base): the vocabulary mechanic packages share - Tick, phases, Queue<T>, rng streams, the save tree, the system runner
A mechanic package depends on ludic.base and nothing else: ports (records of function values for now) for questions, queues for facts, verbs for changes, phases for order and its own versioned save section. The runner inits, resets, saves and loads systems in the order added and ticks them phase by phase; a missing save section is a reset. Tests for each piece and a worked route between two toy mechanics live under tests/. The old ludic.core (engine ECS components) is used by examples/library and stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ec9a650e65
commit
dd6a449921
16 changed files with 928 additions and 0 deletions
10
packages/ludic.base/index.ludic
Normal file
10
packages/ludic.base/index.ludic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# ludic.base - what a mechanic may use and nothing else: the frame it is handed, the phases
|
||||
# that order it, queues for the facts it reports, its own dice, its save section, its system
|
||||
module ludic_base
|
||||
numbers float
|
||||
import "tick.ludic"
|
||||
import "queue.ludic"
|
||||
import "rng.ludic"
|
||||
import "save.ludic"
|
||||
import "save_fields.ludic"
|
||||
import "system.ludic"
|
||||
Loading…
Add table
Add a link
Reference in a new issue