Anarkai is a hex-colony sandbox split into focused workspace packages:
engines/terrain: deterministic terrain and hydrology generationengines/ssh: gameplay simulation, hive logic, save/load, and streamed board materializationengines/pixi: Pixi renderer and continuous terrain surfaceapps/browser: the playable browser client built on Sursaut
The repo has moved beyond early experimentation:
- terrain generation is implemented as a reusable engine
- hive behavior exists and is covered by a broad unit/integration test suite
- the browser client can inspect and interact with the simulation
- continuous terrain rendering is wired through Pixi
The biggest remaining product/architecture gap is not terrain generation anymore. It is turning streamed terrain into a fully first-class streamed gameplay world.
pnpm install
pnpm dev:browserUseful workspace commands:
pnpm testpnpm typecheckpnpm --filter ssh-browser devpnpm --filter ssh testpnpm --filter engine-terrain test