No description
- TypeScript 53.9%
- Vue 23.6%
- JavaScript 20.1%
- Python 1.4%
- CSS 0.9%
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. |
||
|---|---|---|
| .github/workflows | ||
| .husky | ||
| engine | ||
| viewer | ||
| .editorconfig | ||
| .gitignore | ||
| .gitpod.dockerfile | ||
| .gitpod.yml | ||
| .npmrc | ||
| .prettierrc | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
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