> Worldhive
A distributed simulation engine and the games built on its shards.
Objectives
- Generate computing shards that coordinate to perform calculations.
- Provide the infrastructure for a set of simulation games focused on shard modularity.
- Prepare game assets and infrastructure dynamically, and serve games in a controlled way.
Qualities
-
A determinism contract: replaying
(seed, tick 0, input log)reproduces a session byte for byte. - Four elements — emulator, agent emulator, narrator and client — with three seams between them.
- Clients see only what their own presentation reports; a canonical snapshot carries a state hash.
- Standard library only, on purpose.
Technical details
A Go shard kernel, currently through milestone M8, with a Canvas2D client and an agent process behind a frame protocol.
- Fixed point, a deterministic perceive/decide/resolve tick loop, procedural maps of blockers, cover, lights and pickups, ray-versus-sphere geometry, line of sight, a light field with shadows, a sound event buffer and four perception channels.
- A narrator filters and coarsens what agents are told; a human model carries needs, body, personality and derived traits on a circadian clock, with combat, reaction delay, perception latency, weapons and wounding.
-
A client's intent and an agent's decision are recorded
in an input log, so a session replays exactly. An
emubenchadapter pins a golden trace and a measured cost matrix. -
docs/architecture.md,HANDOFF.mdandplan.mdcarry the design and the milestone ladder.
Not publicly accessible; it runs locally as a serve and agent process.