No description
- TypeScript 58.1%
- Vue 15.9%
- JavaScript 13.9%
- Python 9.8%
- Shell 2.1%
- Other 0.2%
* Show plug cards on the draw pile for every deck
The draw pile darkens when its top card is a plug card, and the engine
decided that by comparing the plant number with 15. That was right for the
standard deck only. Deck 1 has plug cards up to 16, and the shuffled decks
mix in copies such as 16.1 and 15.2, so in those games a plug card on top
was shown as an ordinary one.
Ask the deck instead, with the isPlugPlant() rule the decks already use.
For the standard deck (and India, and Deck 2) it is the same test as
before, so those games cannot change.
Measured over seeded 3p/5p Recharged games on Italy, USA and Germany:
before, 41/3112 states wrong on Deck 1, 40/3278 on shuffled, 31/3420 on
shuffled-unique, 0/3338 on standard; after, 0 on all four. The new test
fails on the old code ("deck1: 16 on top: expected false to equal true").
Found while answering Frankie_Stein's report on Italy_Rechrg_1103 (a
standard-deck game, so this is not the cause of that report).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Fix the engine lint error that has kept CI red since 2.0.26
`pnpm lint` fails on master since
|
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .husky | ||
| ai | ||
| docs | ||
| engine | ||
| scripts | ||
| viewer | ||
| .editorconfig | ||
| .gitignore | ||
| .gitpod.dockerfile | ||
| .gitpod.yml | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| AGENTS.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
Power Grid
Mono repo containing the viewer & the engine for Power Grid
Checkout their READMEs:
Play online at
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
Viewer releases: see uploading the complete viewer build.