No description
  • TypeScript 58.1%
  • Vue 15.9%
  • JavaScript 13.9%
  • Python 9.8%
  • Shell 2.1%
  • Other 0.2%
Find a file
goldjohn6 ed4738e2ea
Show the printed price when you are the only buyer left (#167)
In the shuffled decks a plant's extra copies are numbered 13.1 / 13.2, and
the sole-buyer confirmation used that number as the price, so it asked
"Buy Power Plant 13 (Deck 1) for $13.1?". The engine already charges the
printed number (Math.floor), so only the dialog was wrong. Round it down
the same way; the Recharged $1 discount plant is unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 09:13:29 -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 🔖 powergrid-engine 2.0.24 2026-11-08 16:51:57 +00:00
scripts Release auction auto-pass with a personal player-card setting 2026-10-26 20:42:38 +01:00
viewer Show the printed price when you are the only buyer left (#167) 2026-11-08 09:13:29 -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.