ludic/packages/ludic.clock/index.ludic
Orkuncakilkaya 05b09b4c98 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>
2026-09-25 04:20:47 +03:00

10 lines
353 B
Text

# ludic.clock - one clock for a whole world: the hour, the day, the moon's place in its month and
# where the day falls in a calendar the game describes; a day turning is a fact on a queue
module ludic_clock
numbers float
import "ludic.base"
import "state.ludic"
import "verbs.ludic"
import "queries.ludic"
import "calendar.ludic"
import "system.ludic"