village-builder

VB-235: The clock counts whole six-minute ticks

Status: done (2026-11-10) Priority: 2 Size: M Design ref: none (code structure). AGENTS.md, Conventions (Determinism; Time is in game hours). Goal: Sim.advance (src/sim/clock.js) adds 0.1 to the float st.t and finds the hour as Math.floor(st.t + 1e-9). The float drifts past that tolerance in year 2, and left -= step drifts with it, so the same seed gives different runs by the size of the chunks advance is given. Keep an integer count of six-minute ticks as the clock’s source of truth and derive the hour, the day and st.t from it. Acceptance criteria: