pub fn state_view(sim: &Simulation) -> ValueExpand description
The saved game with every unit listed on its own
(Simulation::serialize_unfolded, so the floor-run encoding never moves
a hash), without the log messages’ text and the pending choice’s message,
so wording changes never move a hash, and without the crowd, which the
conformance suite hashes as its own channel ([crate::crowd::Crowd::view]),
the cars’ timers mid-stop, the housekeeping tallies, the day’s move-ins or
a first-day game’s period marks, which the hash has never held. They show
in the hash through what they decide: whether the morning checkout line,
the housekeeping nudges and the evening’s “New tenants:” line are logged,
and the money the first day’s end bills.