Amy (70s eyes) found Bremen's district text hard to read. - Viewer: every part of a node-weighted district tile scales by one factor (TILE_SCALE = 1.3): the diamond, house slots, slot numbers, entry-cost coin and the houses placed in them, so the pieces keep their relative places. - Engine: Blumenthal, Vegesack and Burglesum move down and right (placed with the coord picker), which narrows the board so the adaptive layout zooms it in. Hofen moves down 20 so the Burglesum-Seehausen link no longer clips it. Adjacency and rules are unchanged; only x/y move. - Geography: Bremen's outline is regenerated from the updated anchors, so the land follows the new positions. Other maps' assets are untouched. New district positions reach new games only (map data is stored at setup); the larger tiles reach every game on reload. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| src | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .pnpm-debug.log | ||
| .travis.yml | ||
| index.ts | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
| wrapper.ts | ||
powergrid-engine
Typescript engine for Power Grid.
Setup
Requirements
Recent version of node / pnpm.
Dependencies
In the project's folder:
pnpm
Build
To compile Typescript into javascript:
pnpm build
Test
pnpm test