No description
- TypeScript 53.9%
- Vue 23.6%
- JavaScript 20.1%
- Python 1.4%
- CSS 0.9%
Engine (wrapper.spec.ts), simulating the platform (persist only what toSave returns): - mid-turn buffers are tentative (toSave undefined, nothing persisted) and the full turn commits when it completes - bare move objects are accepted as one-element buffers; empty buffers are never saved - undo-by-truncation: replaying a shortened buffer from the committed base equals never having made the popped move (including undoing to empty with no server call) - scripted 2-player auction: sail-to-island commits immediately, a bid is a single-move committed turn, the auctioneer's mid-turn loan stays tentative, accept/decline commit and cannot be undone once control passes on - the saved log length never shrinks across committed states - moveAI always returns saveable states across a random 25-turn game; dropPlayer results are committed Viewer: replace the dead example unit test (missing HelloWorld component) with a real Calculator test so vue-cli-service test:unit passes. |
||
|---|---|---|
| .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