No description
  • TypeScript 53.9%
  • Vue 23.6%
  • JavaScript 20.1%
  • Python 1.4%
  • CSS 0.9%
Find a file
coyotte508 c72ebf77bd engine: seed upkeep container seizures from the game seed
Upkeep seizures picked containers with a bare Math.random, breaking the
platform guarantee that the same seed yields the same game and making
wrapper.replay diverge from the original whenever a seizure occurred
(seizures are log *events*, not moves, so nothing recorded the choice).

Seed a per-upkeep seedrandom stream from the persisted game seed plus the
visible log length — which uniquely identifies the upkeep within the game,
since each upkeep immediately follows its own Pass/Accept/Decline log
entry — so both live play and full replays reproduce the same seizures.

Typing removeRandom along the way exposed that warehouse/factory-store
seizure messages read .color on a ContainerOnStore (always undefined);
they now correctly read .piece.color.
2026-08-16 21:30:32 +00:00
.github/workflows Migrate CI to OIDC trusted publishing 2026-08-12 22:00:34 +02:00
.husky Migrate CI to OIDC trusted publishing 2026-08-12 22:00:34 +02:00
engine engine: seed upkeep container seizures from the game seed 2026-08-16 21:30:32 +00:00
viewer tests: cover the tentative-turn model 2026-08-16 21:06:28 +00:00
.editorconfig Mono-repo configuration 2021-07-03 21:39:13 +02:00
.gitignore chore: unbreak tooling (pnpm 11 lockfile, dep build allow-list, organize-imports plugin) 2026-08-16 20:55:41 +00:00
.gitpod.dockerfile Mono-repo configuration 2021-07-03 21:39:13 +02:00
.gitpod.yml Add continuous integration 2021-07-04 00:06:50 +02:00
.npmrc Mono-repo configuration 2021-07-03 21:39:13 +02:00
.prettierrc Add continuous integration 2021-07-04 00:06:50 +02:00
package.json chore: unbreak tooling (pnpm 11 lockfile, dep build allow-list, organize-imports plugin) 2026-08-16 20:55:41 +00:00
pnpm-lock.yaml viewer: fix pre-existing build breakage 2026-08-16 20:58:01 +00:00
pnpm-workspace.yaml chore: unbreak tooling (pnpm 11 lockfile, dep build allow-list, organize-imports plugin) 2026-08-16 20:55:41 +00:00
README.md Update README.md 2026-08-12 22:05:05 +02:00

Container

Mono repo containing the viewer & the engine for Gaia Container

Checkout their READMEs:

Demo

Check out boardgamers.space! Reach out to us if you want to contribute.

Install

Do pnpm install in the main folder

Test locally

After the installation step, you can run the viewer with:

cd viewer
npm run serve

It will use the engine in its sibling folder