No description
  • TypeScript 58.1%
  • Vue 15.9%
  • JavaScript 13.9%
  • Python 9.8%
  • Shell 2.1%
  • Other 0.2%
Find a file
goldjohn6 de6f0703fb
End a game nobody can finish, and never sell a 9999 city (#165)
UK & Ireland's island jump needs an empty city, so a player locked on one
island tops out at its cities (14 and 12 on a 4-region board). If nobody
crosses before the other island fills, no one can ever reach the end count
and the game never ended. Two seeded bot games showed how master escaped:
after ~105 rounds a player saved $9999 and bought a city priced 9999, the
engine's "impossible" marker (occupied, or across the sea).

New games store options.stallEnds. For them, the game ends after a Step 3
Building phase in which no active player could ever build again (whatever
their money), scored as usual; and a 9999 price is never affordable.
Older games have no stamp (reconstructionOptions forces it off), so they
play and replay exactly as before.

Build pricing moves out of availableMoves into buildOptions() so the
money-filtered moves and noPlayerCanBuild() share every map rule.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:11:27 -08:00
.devcontainer prettier 2025-08-09 20:56:35 +00:00
.github feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:30:05 +02:00
.husky Initial 2021-10-13 00:09:21 -03:00
ai chore: align formatting checks with generated geography data 2026-10-05 01:35:46 +02:00
docs Release viewer 2.3.23 with text actions and consistent board controls 2026-11-02 21:04:17 +00:00
engine End a game nobody can finish, and never sell a 9999 city (#165) 2026-11-04 14:11:27 -08:00
scripts Release auction auto-pass with a personal player-card setting 2026-10-26 20:42:38 +01:00
viewer Update middleeast.ts Rules (#164) 2026-11-04 14:09:59 -08:00
.editorconfig Initial 2021-10-13 00:09:21 -03:00
.gitignore Add search supervision, paired arenas and CPU-guided inference 2026-09-30 16:31:52 +02:00
.gitpod.dockerfile Initial 2021-10-13 00:09:21 -03:00
.gitpod.yml Initial 2021-10-13 00:09:21 -03:00
.npmrc Initial 2021-10-13 00:09:21 -03:00
.prettierignore chore: align formatting checks with generated geography data 2026-10-05 01:35:46 +02:00
.prettierrc Initial 2021-10-13 00:09:21 -03:00
AGENTS.md Integrate AI research and harden analysis autoplay 2026-10-04 11:38:12 +02:00
package.json feat(viewer): localize interface and tutorials in 15 languages 2026-09-25 16:30:05 +02:00
pnpm-lock.yaml update engine-publish 2025-08-09 21:12:39 +00:00
pnpm-workspace.yaml Show platform Supporter badges and preferred player colours 2026-10-01 23:56:32 +02:00
README.md Merge commit '76988deb8a' into feat/ongoing-analysis-scenarios 2026-09-30 14:26:32 +02:00

Power Grid

Mono repo containing the viewer & the engine for Power Grid

Checkout their READMEs:

Play online at

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

Viewer releases: see uploading the complete viewer build.