No description
  • TypeScript 58.1%
  • Vue 15.9%
  • JavaScript 13.9%
  • Python 9.8%
  • Shell 2.1%
  • Other 0.2%
Find a file
goldjohn6 49c2a80f7e
SwitzerlandCustom: the cheese cellar (#174)
* SwitzerlandCustom: the cheese cellar (garbage is cheese, and it ripens)

Cheese kept in a garbage plant that rests through Bureaucracy (does not fire)
ages; an aged cube burns as two, stays aged until burned, never ages again,
and still takes one storage space.

- Player.agedCheese (read through agedCheese(): never above garbageLeft, so
  cubes lost to storage go aged-first).
- cheeseMix: the engine offers the thriftiest mix (least waste, then fewest
  cubes); UsePowerPlant.agedSpent records the aged cubes burned.
- ripenCheese at the Bureaucracy pass: a resting plant ripens only the room it
  has left (aged cubes are counted in the plants that fired first). Logged.
- calculateMaxCitiesPowered counts aged cheese as double.
- Bots burn aged cheese first and fire fresh-cheese plants last, so spare
  cheese plants rest and ripen.
- Viewer: "N aged" above the player's garbage count.

Bot sims (150 games each, 3/4/5p): 3-5 cubes age per game, 18-25% of cheese
runs use aged cheese; Step 3 is reached more often (4p 79%->89%, 5p 34%->45%).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Cheese cellar: an aged cube stays aged after its neighbour burns

Found in John's local playtest (plant 6, two aged, used one): the aged count
was read after the cubes left, so the cap by cubes held wiped the remaining
aged cube. Count it before. The "N aged" label moves below the cheese count,
clear of the plant cards, and the pass warning counts aged cheese as double.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:19:34 -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 SwitzerlandCustom: the cheese cellar (#174) 2026-11-20 11:19:34 -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 SwitzerlandCustom: the cheese cellar (#174) 2026-11-20 11:19:34 -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 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.