feat(ludic.clock): the hours, the day, the moon and a calendar as a mechanic package
A ClockWorld port (owns_world, rest_scale, seed), verbs to set and advance it, clock_new_day, a DayTurned queue (stayed up past midnight, or slept), a calendar whose month, year and season are pure functions of the day, and a System (PH_INPUT) with its own save section. Nine test blocks in tests/clock_test.ludic with fakes for the port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b1ccaf08bd
commit
05b09b4c98
9 changed files with 400 additions and 0 deletions
5
packages/ludic.clock/package.ludic
Normal file
5
packages/ludic.clock/package.ludic
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# ludic.clock - the hours, the days, the moon and a calendar of seasons, as a pure function of the
|
||||
# day. Uses ludic.base and nothing else. See README.md.
|
||||
package "ludic.clock"
|
||||
version "0.1.0"
|
||||
kind source
|
||||
Loading…
Add table
Add a link
Reference in a new issue