readme: mars/stream, mars/rng

This commit is contained in:
alex 2026-09-07 17:47:54 -04:00
parent 563dbe3a87
commit 12a366651d

View file

@ -16,6 +16,8 @@ loads) builds, deploys, hooks, and logs from a real game launch. Engine code acc
- `mars/text` — flat key/value tables, id manifests, CSV (64/64 files agree) - `mars/text` — flat key/value tables, id manifests, CSV (64/64 files agree)
- `game/sim` — strategic formulas (economy, research, colonies, movement) as pure functions; 356 hand-computed checks - `game/sim` — strategic formulas (economy, research, colonies, movement) as pure functions; 356 hand-computed checks
- `mars/vfs` — `.gob` (ZIP) archive reader + loose-file override; entry counts and bytes verified against `unzip` - `mars/vfs` — `.gob` (ZIP) archive reader + loose-file override; entry counts and bytes verified against `unzip`
- `mars/stream` — the game's self-describing save/serialization format (reader, writer, typed shapes) + gzip; three real saves round-trip byte-identical
- `mars/rng` — MT19937 with save-state load/store; layout confirmed against real saves
Build: `cmake --preset host && cmake --build --preset host && ctest --preset host` (Linux); Build: `cmake --preset host && cmake --build --preset host && ctest --preset host` (Linux);
`tools/sync-build.sh` cross-builds the shim on the lab box and stages it for deployment. `tools/sync-build.sh` cross-builds the shim on the lab box and stages it for deployment.