No description
  • TypeScript 58.1%
  • Vue 15.9%
  • JavaScript 13.9%
  • Python 9.8%
  • Shell 2.1%
  • Other 0.2%
Find a file
goldjohn6 1a8c74f55e
Seed the bots in the Spain & Portugal Step 2 test (#175)
The test seeded the game but not the bots, which choose with Math.random,
so a game could now and then draw the Step 3 card during Step 1 and skip
Step 2 (Engine - Test failed this way on master after #173, then passed on
re-run). A sweep of 400 bot seeds: deck2 skips Step 2 in 13 games (3.3%),
deck1 in 1. Seeding Math.random per deck, as wrapper.spec does, makes the
test the same on every run.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:25:51 -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
art/achievements It's Chile time! (#171) 2026-11-17 12:41:45 -08:00
docs Release phase auto-pass engine 2.0.37 and viewer 2.3.32 2026-11-17 22:21:20 +00:00
engine Seed the bots in the Spain & Portugal Step 2 test (#175) 2026-11-21 09:25:51 -08:00
scripts Release phase auto-pass engine 2.0.37 and viewer 2.3.32 2026-11-17 22:21:20 +00:00
viewer 🔖 powergrid-viewer 2.3.33 2026-11-20 19:25:15 +00: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 It's Chile time! (#171) 2026-11-17 12:41:45 -08: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.