Add original Container achievement art and asset refs for revision 3
69
docs/achievement-art/README.md
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# Container achievement artwork — revision 3
|
||||
|
||||
Issue: https://codeberg.org/boardgamers/boardgamers/issues/595
|
||||
|
||||
Original industrial geometric artwork for all 17 current awards. This is artwork
|
||||
and asset-reference maintenance only. Engine 2.1.9 → 2.1.10; achievement manifest
|
||||
revision 2 → 3; protocol remains 0.11.0. `island-fifteen` is retained; retired
|
||||
`island-five` and `warehouse-six` are not restored. Definitions, descriptions,
|
||||
eligibility and evaluator remain identical to canonical baseline
|
||||
`99e60d5e8f4111f0435d9ea911e2431ec8ef2f7f`.
|
||||
|
||||
## Provenance and reproduction
|
||||
|
||||
All geometry was authored for this release, under the repository's MIT license.
|
||||
No downloaded imagery, commercial illustrations, external icons, or font outlines
|
||||
are used. The five cargo colors correspond to `ContainerColor` in
|
||||
`engine/src/gamestate.ts`: orange, brown, white, darkslategray, tan. This is
|
||||
original implementation artwork, not official physical-edition art.
|
||||
|
||||
Editable geometry: `scripts/generate-achievement-art.py` and the exported SVGs.
|
||||
The renderer uses Python 3.12, CairoSVG 2.8.2 and Pillow 11.3.0. Install these in an
|
||||
isolated environment, then run from the repository root:
|
||||
|
||||
```sh
|
||||
python scripts/generate-achievement-art.py
|
||||
python scripts/test-achievement-art.py
|
||||
pnpm --dir engine test
|
||||
pnpm --dir engine build
|
||||
```
|
||||
|
||||
`manifest.json` provides the exact stable asset keys, SVG and PNG filenames,
|
||||
SHA-256 hashes, generator hash, source baseline and provenance. PNG uploads are
|
||||
256 × 256 RGBA. Contact sheets show actual-size 32/48/64px badges on light and
|
||||
dark backgrounds. All forms fit the circular badge; color is supplemented by
|
||||
shape and, for cargo diversity, distinct internal patterns. No text font is
|
||||
required for the geometric score/holding digits.
|
||||
|
||||
## Semantic inventory
|
||||
|
||||
- `win`: laden freighter and victory pennant.
|
||||
- `win-three-player`, `win-four-player`, `win-five-player`: exactly three/four/five
|
||||
separate company quay/offices surround the winning ship. These are company
|
||||
counters, not cargo colors. Triangle, square and pentagonal harbor layouts.
|
||||
- `debt-free-win`: ship, victory pennant and checked loan ledger.
|
||||
- `score-100`: cash and cargo-value columns in a final-account spread.
|
||||
- `score-150`: expanded industrial skyline and proceeds around the final account;
|
||||
structural progression, not simply a changed numeral.
|
||||
- `debt-free`: checked loan ledger without victory imagery.
|
||||
- `three-factories`, `four-factories`: exactly three/four sawtooth-roof factories,
|
||||
with chimneys and triangle/square production connections.
|
||||
- `three-warehouses`, `five-warehouses`: exactly three/five gable-roof depots,
|
||||
distinguished from factories, along a road or around a loading courtyard.
|
||||
- `island-fifteen`, `island-ten`: three/two rows of five cargo containers on a
|
||||
shoreline. Supporting digits denote the minimum holdings, not extra awards.
|
||||
- `island-diversity`: all five actual color identities, each with a different
|
||||
redundant pattern, on an island.
|
||||
- `full-ship`: five occupied cargo slots on a freighter hull.
|
||||
- `warehouse-five`: five occupied storage positions in one large warehouse
|
||||
cutaway, distinct from five owned warehouse buildings.
|
||||
|
||||
## Release gate
|
||||
|
||||
Source is prepared on isolated `moon/achievement-art-2026`; canonical release
|
||||
remote is `git@github.com:boardgamers/container`, branch `master`. `origin` was
|
||||
fetched and integrated before implementation. No additional configured mirror or
|
||||
mirror publication workflow was found. No asset upload or engine activation is
|
||||
part of this authoring stage. Publication requires fresh independent code and
|
||||
actual image review approval from the coordinator. The exact tested package and
|
||||
review logs are retained outside tracked sources; the worktree is retained.
|
||||
BIN
docs/achievement-art/achievement-debt-free-win.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-debt-free-win.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><g transform="translate(49 0) scale(0.68)"><rect x="35" y="28" width="58" height="70" fill="#f5e8ce" stroke="#f4b34a" stroke-width="3"/><path d="M45 43 H81 M45 53 H74 M45 63 H68" fill="none" stroke="#132e3b" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(53 73) scale(1)"><path d="M0 10 L8 18 L25 0" fill="none" stroke="#58bab4" stroke-width="6" stroke-linejoin="round" stroke-linecap="round"/></g></g><path d="M27 53 V28" fill="none" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M29 28 H51 L44 35 L51 42 H29 Z" fill="#f4b34a"/><g transform="translate(0 23) scale(0.9)"><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="43" y="59" width="22" height="15" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M50.333333333333336 62 V71 M57.666666666666664 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="59" width="22" height="15" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M74.33333333333333 62 V71 M81.66666666666667 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
BIN
docs/achievement-art/achievement-debt-free.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-debt-free.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><rect x="35" y="28" width="58" height="70" fill="#f5e8ce" stroke="#f4b34a" stroke-width="3"/><path d="M45 43 H81 M45 53 H74 M45 63 H68" fill="none" stroke="#132e3b" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(53 73) scale(1)"><path d="M0 10 L8 18 L25 0" fill="none" stroke="#58bab4" stroke-width="6" stroke-linejoin="round" stroke-linecap="round"/></g><path d="M26 37 H20 V103 H81 V107" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 701 B |
BIN
docs/achievement-art/achievement-five-warehouses.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-five-warehouses.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M39 41 H88 V90 H39 Z" fill="none" stroke="#f4b34a" stroke-width="5" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(28 26) scale(0.75)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(53 21) scale(0.75)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(78 26) scale(0.75)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(29 76) scale(0.75)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(78 76) scale(0.75)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g></svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
BIN
docs/achievement-art/achievement-four-factories.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-four-factories.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M41 43 H86 V87 H41 Z" fill="none" stroke="#58bab4" stroke-width="5" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(26 22) scale(0.95)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(78 22) scale(0.95)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(26 73) scale(0.95)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(78 73) scale(0.95)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
docs/achievement-art/achievement-full-ship.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-full-ship.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="41" y="60" width="12" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M45.0 63 V71 M49.0 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="54" y="60" width="12" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M58.0 63 V71 M62.0 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="60" width="12" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M71.0 63 V71 M75.0 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="80" y="60" width="12" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M84.0 63 V71 M88.0 63 V71" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="93" y="60" width="12" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M97.0 63 V71 M101.0 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M43 47 H104 M43 43 V51 M104 43 V51" fill="none" stroke="#f4b34a" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
BIN
docs/achievement-art/achievement-island-diversity.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
1
docs/achievement-art/achievement-island-diversity.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M17 70 L27 40 L63 29 L101 44 L111 76 L95 96 L37 99 Z" fill="#58bab4" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M21 104 H43 M85 104 H104" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><rect x="36" y="43" width="21" height="19" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M39 59 L54 46" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="43" width="21" height="19" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M70 46 L85 59" fill="none" stroke="#f5e8ce" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="68" width="21" height="19" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M34.5 70 V85" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="54" y="68" width="21" height="19" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M57 77.5 H72" fill="none" stroke="#f5e8ce" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="84" y="68" width="21" height="19" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M87 71 L94.5 84 L102 71" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/achievement-art/achievement-island-fifteen.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
docs/achievement-art/achievement-island-fifteen.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M17 70 L27 40 L63 29 L101 44 L111 76 L95 96 L37 99 Z" fill="#58bab4" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M21 104 H43 M85 104 H104" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><rect x="27" y="43" width="13" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M31.333333333333332 46 V54 M35.666666666666664 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="42" y="43" width="13" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M46.333333333333336 46 V54 M50.666666666666664 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="57" y="43" width="13" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.333333333333336 46 V54 M65.66666666666667 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="43" width="13" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M76.33333333333333 46 V54 M80.66666666666667 46 V54" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="87" y="43" width="13" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M91.33333333333333 46 V54 M95.66666666666667 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="27" y="60" width="13" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M31.333333333333332 63 V71 M35.666666666666664 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="42" y="60" width="13" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M46.333333333333336 63 V71 M50.666666666666664 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="57" y="60" width="13" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.333333333333336 63 V71 M65.66666666666667 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="60" width="13" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M76.33333333333333 63 V71 M80.66666666666667 63 V71" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="87" y="60" width="13" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M91.33333333333333 63 V71 M95.66666666666667 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="27" y="77" width="13" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M31.333333333333332 80 V88 M35.666666666666664 80 V88" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="42" y="77" width="13" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M46.333333333333336 80 V88 M50.666666666666664 80 V88" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="57" y="77" width="13" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.333333333333336 80 V88 M65.66666666666667 80 V88" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="77" width="13" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M76.33333333333333 80 V88 M80.66666666666667 80 V88" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="87" y="77" width="13" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M91.33333333333333 80 V88 M95.66666666666667 80 V88" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="47" y="96" width="35" height="20" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><g transform="translate(51 98) scale(1)"><g transform="translate(0 0) scale(1)"><path d="M1 3 L5 0 V14 M1 14 H9" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(14 0) scale(1)"><path d="M9 0 H0 V7 H8 V14 H0" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
BIN
docs/achievement-art/achievement-island-ten.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
1
docs/achievement-art/achievement-island-ten.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M17 70 L27 40 L63 29 L101 44 L111 76 L95 96 L37 99 Z" fill="#58bab4" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M21 104 H43 M85 104 H104" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><rect x="27" y="43" width="13" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M31.333333333333332 46 V54 M35.666666666666664 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="42" y="43" width="13" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M46.333333333333336 46 V54 M50.666666666666664 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="57" y="43" width="13" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.333333333333336 46 V54 M65.66666666666667 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="43" width="13" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M76.33333333333333 46 V54 M80.66666666666667 46 V54" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="87" y="43" width="13" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M91.33333333333333 46 V54 M95.66666666666667 46 V54" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="27" y="60" width="13" height="14" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M31.333333333333332 63 V71 M35.666666666666664 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="42" y="60" width="13" height="14" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M46.333333333333336 63 V71 M50.666666666666664 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="57" y="60" width="13" height="14" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.333333333333336 63 V71 M65.66666666666667 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="60" width="13" height="14" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M76.33333333333333 63 V71 M80.66666666666667 63 V71" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="87" y="60" width="13" height="14" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M91.33333333333333 63 V71 M95.66666666666667 63 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="47" y="96" width="35" height="20" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><g transform="translate(51 98) scale(1)"><g transform="translate(0 0) scale(1)"><path d="M1 3 L5 0 V14 M1 14 H9" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(14 0) scale(1)"><path d="M0 0 H8 V14 H0 Z" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
BIN
docs/achievement-art/achievement-score-100.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-score-100.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><rect x="40" y="26" width="22" height="17" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M47.333333333333336 29 V40 M54.666666666666664 29 V40" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="70" y="26" width="20" height="17" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M75 34 H85" fill="none" stroke="#132e3b" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M22 52 L61 47 L64 52 L67 47 L106 52 V88 L67 83 L64 88 L61 83 L22 88 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M64 54 V81 M30 61 H52 M30 71 H52 M76 61 H97 M76 71 H97" fill="none" stroke="#58bab4" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(45 96) scale(0.95)"><g transform="translate(0 0) scale(1)"><path d="M1 3 L5 0 V14 M1 14 H9" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(14 0) scale(1)"><path d="M0 0 H8 V14 H0 Z" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(28 0) scale(1)"><path d="M0 0 H8 V14 H0 Z" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/achievement-art/achievement-score-150.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
1
docs/achievement-art/achievement-score-150.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><g transform="translate(28 20) scale(0.8)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(53 14) scale(0.9)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(82 24) scale(0.7)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><path d="M22 52 L61 47 L64 52 L67 47 L106 52 V88 L67 83 L64 88 L61 83 L22 88 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M64 54 V81 M30 61 H52 M30 71 H52 M76 61 H97 M76 71 H97" fill="none" stroke="#58bab4" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/><rect x="22" y="87" width="17" height="7" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><rect x="89" y="87" width="17" height="7" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><g transform="translate(45 96) scale(0.95)"><g transform="translate(0 0) scale(1)"><path d="M1 3 L5 0 V14 M1 14 H9" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(14 0) scale(1)"><path d="M9 0 H0 V7 H8 V14 H0" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(28 0) scale(1)"><path d="M0 0 H8 V14 H0 Z" fill="none" stroke="#f5e8ce" stroke-width="2.5" stroke-linejoin="round" stroke-linecap="round"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
BIN
docs/achievement-art/achievement-three-factories.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-three-factories.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M39 73 L64 40 L90 73 Z" fill="none" stroke="#58bab4" stroke-width="5" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(52 21) scale(1)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(22 69) scale(1)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(82 69) scale(1)"><rect x="3" y="0" width="6" height="23" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/><path d="M0 17 L12 9 V17 L24 9 V33 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="5" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="15" y="23" width="5" height="10" fill="#58bab4" stroke="#132e3b" stroke-width="2"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/achievement-art/achievement-three-warehouses.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
1
docs/achievement-art/achievement-three-warehouses.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M23 94 H106" fill="none" stroke="#f4b34a" stroke-width="5" stroke-linejoin="round" stroke-linecap="round"/><g transform="translate(20 48) scale(1)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(50 48) scale(1)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(80 48) scale(1)"><path d="M0 12 L14 0 L28 12 V34 H0 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="6" y="16" width="16" height="18" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><path d="M9 22 H19 M9 27 H19" fill="none" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/achievement-art/achievement-warehouse-five.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-warehouse-five.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M17 49 L64 24 L111 49 V99 H17 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M25 49 H103 M24 93 H104" fill="none" stroke="#58bab4" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="67" width="15" height="21" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M29.0 70 V85 M34.0 70 V85" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="40" y="67" width="15" height="21" fill="#976444" stroke="#132e3b" stroke-width="1.5"/><path d="M45.0 70 V85 M50.0 70 V85" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="56" y="67" width="15" height="21" fill="#f5e8ce" stroke="#132e3b" stroke-width="1.5"/><path d="M61.0 70 V85 M66.0 70 V85" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="72" y="67" width="15" height="21" fill="#31414a" stroke="#f5e8ce" stroke-width="1.5"/><path d="M77.0 70 V85 M82.0 70 V85" fill="none" stroke="#f5e8ce" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="88" y="67" width="15" height="21" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M93.0 70 V85 M98.0 70 V85" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
docs/achievement-art/achievement-win-five-player.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
docs/achievement-art/achievement-win-five-player.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><g transform="translate(64.0 25.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(101.09 50.57) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(86.92 91.93) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(41.08 91.93) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(26.91 50.57) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(29 16) scale(0.55)"><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="43" y="59" width="22" height="15" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M50.333333333333336 62 V71 M57.666666666666664 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="59" width="22" height="15" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M74.33333333333333 62 V71 M81.66666666666667 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(76 35) scale(0.65)"><path d="M0 25 V0" fill="none" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M2 0 H24 L17 7 L24 14 H2 Z" fill="#f4b34a"/></g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
BIN
docs/achievement-art/achievement-win-four-player.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-win-four-player.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><g transform="translate(64.0 25.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(103.0 62.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(64.0 99.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(25.0 62.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(29 16) scale(0.55)"><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="43" y="59" width="22" height="15" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M50.333333333333336 62 V71 M57.666666666666664 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="59" width="22" height="15" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M74.33333333333333 62 V71 M81.66666666666667 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(76 35) scale(0.65)"><path d="M0 25 V0" fill="none" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M2 0 H24 L17 7 L24 14 H2 Z" fill="#f4b34a"/></g></svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
BIN
docs/achievement-art/achievement-win-three-player.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-win-three-player.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><g transform="translate(64.0 25.0) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(97.77 80.5) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(30.23 80.5) scale(1)"><rect x="-10" y="-9" width="20" height="18" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="-6" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="2" y="-5" width="4" height="5" fill="#132e3b" stroke="#132e3b" stroke-width="2"/><rect x="-8" y="9" width="16" height="8" fill="#f4b34a" stroke="#132e3b" stroke-width="2"/></g><g transform="translate(29 16) scale(0.55)"><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="43" y="59" width="22" height="15" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M50.333333333333336 62 V71 M57.666666666666664 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="59" width="22" height="15" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M74.33333333333333 62 V71 M81.66666666666667 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></g><g transform="translate(76 35) scale(0.65)"><path d="M0 25 V0" fill="none" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M2 0 H24 L17 7 L24 14 H2 Z" fill="#f4b34a"/></g></svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
BIN
docs/achievement-art/achievement-win.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
docs/achievement-art/achievement-win.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128"><circle cx="64" cy="64" r="62" fill="#132e3b" stroke="#f4b34a" stroke-width="3"/><path d="M57 48 V23" fill="none" stroke="#f5e8ce" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/><path d="M59 23 H81 L74 30 L81 37 H59 Z" fill="#f4b34a"/><path d="M20 75 H109 L96 91 H34 Z" fill="#f5e8ce" stroke="#132e3b" stroke-width="2" stroke-linejoin="round" stroke-linecap="round"/><rect x="24" y="52" width="15" height="22" fill="#58bab4" stroke="#132e3b" stroke-width="2"/><rect x="27" y="46" width="6" height="6" fill="#f5e8ce" stroke="#132e3b" stroke-width="2"/><rect x="27" y="57" width="8" height="6" fill="#132e3b" stroke="#132e3b" stroke-width="0"/><rect x="43" y="59" width="22" height="15" fill="#e98437" stroke="#132e3b" stroke-width="1.5"/><path d="M50.333333333333336 62 V71 M57.666666666666664 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><rect x="67" y="59" width="22" height="15" fill="#c7a16c" stroke="#132e3b" stroke-width="1.5"/><path d="M74.33333333333333 62 V71 M81.66666666666667 62 V71" fill="none" stroke="#132e3b" stroke-width="1" stroke-linejoin="round" stroke-linecap="round"/><path d="M28 99 H48 L54 95 H75 L81 99 H101" fill="none" stroke="#58bab4" stroke-width="3" stroke-linejoin="round" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/achievement-art/contact-sheet-32.png
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
docs/achievement-art/contact-sheet-48.png
Normal file
|
After Width: | Height: | Size: 131 KiB |
BIN
docs/achievement-art/contact-sheet-64.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
149
docs/achievement-art/manifest.json
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"game": "container",
|
||||
"engineVersion": "2.1.10",
|
||||
"revision": 3,
|
||||
"baseline": "99e60d5e8f4111f0435d9ea911e2431ec8ef2f7f",
|
||||
"issue": "https://codeberg.org/boardgamers/boardgamers/issues/595",
|
||||
"license": "MIT",
|
||||
"provenance": "Original programmatic geometric compositions; no external artwork or fonts. Palette follows the five ContainerColor identities in engine/src/gamestate.ts, not commercial artwork.",
|
||||
"generator": "scripts/generate-achievement-art.py",
|
||||
"generatorSha256": "312845271eb7dcef83d1955f3d14e279a5c3233f6626f2222f0baf088063034f",
|
||||
"assets": [
|
||||
{
|
||||
"id": "win",
|
||||
"key": "achievement-win",
|
||||
"svg": "achievement-win.svg",
|
||||
"png": "achievement-win.png",
|
||||
"svgSha256": "d11d9bb626328c6023bc2a5009fdad6d6119e3756375c0174d8c7151c228b36d",
|
||||
"pngSha256": "744bf07b069b16d981c1e3018c38e046414445ac3fa1d2bec0745de35ebe7751"
|
||||
},
|
||||
{
|
||||
"id": "win-three-player",
|
||||
"key": "achievement-win-three-player",
|
||||
"svg": "achievement-win-three-player.svg",
|
||||
"png": "achievement-win-three-player.png",
|
||||
"svgSha256": "06b217b50a074d36b481d90c2f7608d941f513733841039aa64f7f9fb9faaa2d",
|
||||
"pngSha256": "26a4e3649c81cf05cf10bdb1332771839dda848b823af41497d4b37ebd8cbc0d"
|
||||
},
|
||||
{
|
||||
"id": "win-four-player",
|
||||
"key": "achievement-win-four-player",
|
||||
"svg": "achievement-win-four-player.svg",
|
||||
"png": "achievement-win-four-player.png",
|
||||
"svgSha256": "b9f13375b54488141caa474af7bee000bc9305e7c616bab09957c7d43d430687",
|
||||
"pngSha256": "68f1e79e5aae6a1b181f9ef1c917fb3e5cfe86abd7412ac88484255056f36ab3"
|
||||
},
|
||||
{
|
||||
"id": "win-five-player",
|
||||
"key": "achievement-win-five-player",
|
||||
"svg": "achievement-win-five-player.svg",
|
||||
"png": "achievement-win-five-player.png",
|
||||
"svgSha256": "a0fdd3379e426db9ff7351fce886c0a631141eca767dae4eb7ffb19f62a045de",
|
||||
"pngSha256": "47c7de6e78fdfa732fe3117e369d07e14189677b8158a919023092de1f470217"
|
||||
},
|
||||
{
|
||||
"id": "debt-free-win",
|
||||
"key": "achievement-debt-free-win",
|
||||
"svg": "achievement-debt-free-win.svg",
|
||||
"png": "achievement-debt-free-win.png",
|
||||
"svgSha256": "8a011eb7176b21643afb1c2d6ecac13c89272b818b5641335ff04d732d1683af",
|
||||
"pngSha256": "048beb52a19ac31b9ddb5522a0fafb63f65b9324f6d132c15652ba14ccaa6655"
|
||||
},
|
||||
{
|
||||
"id": "score-100",
|
||||
"key": "achievement-score-100",
|
||||
"svg": "achievement-score-100.svg",
|
||||
"png": "achievement-score-100.png",
|
||||
"svgSha256": "06fdba90883c865188097ef55757e1a9e6f06a019cbb82701291ca277797a3f3",
|
||||
"pngSha256": "3f834e340991586e0d4ccf3b92908c088b14be2e12da68b7051f0b5603e121bc"
|
||||
},
|
||||
{
|
||||
"id": "score-150",
|
||||
"key": "achievement-score-150",
|
||||
"svg": "achievement-score-150.svg",
|
||||
"png": "achievement-score-150.png",
|
||||
"svgSha256": "b5fff030c63d454169e0912700d37d467d070420af354259c5201b18a3c6ab70",
|
||||
"pngSha256": "dde34191376692685a16dffd33e69334149c219468febf364662e213c5e5cff0"
|
||||
},
|
||||
{
|
||||
"id": "debt-free",
|
||||
"key": "achievement-debt-free",
|
||||
"svg": "achievement-debt-free.svg",
|
||||
"png": "achievement-debt-free.png",
|
||||
"svgSha256": "01964ff720747fb102fce03f8d10325bd611e15da8ee7d52b1959ca78c84eddf",
|
||||
"pngSha256": "21cfa1ae75584599dfe557b09a52b3ab87194c6ad132df38210bf75714a3162c"
|
||||
},
|
||||
{
|
||||
"id": "three-factories",
|
||||
"key": "achievement-three-factories",
|
||||
"svg": "achievement-three-factories.svg",
|
||||
"png": "achievement-three-factories.png",
|
||||
"svgSha256": "e4181da5e344a7fdd742ad62120c1ebdbb89e65ad0ba5446731c274f363321ca",
|
||||
"pngSha256": "8dab494df843f8ec260dec693423ffab7f71b13abfa5211118241eb3595135a5"
|
||||
},
|
||||
{
|
||||
"id": "four-factories",
|
||||
"key": "achievement-four-factories",
|
||||
"svg": "achievement-four-factories.svg",
|
||||
"png": "achievement-four-factories.png",
|
||||
"svgSha256": "035d17b32e279c526cc925ffd4e02a6759b0a2a79a5b5674cd15a1899e5845e8",
|
||||
"pngSha256": "204b1e154042612b0b93d81ccf2ff3488510a293843ea0b7e715f546ef72b727"
|
||||
},
|
||||
{
|
||||
"id": "three-warehouses",
|
||||
"key": "achievement-three-warehouses",
|
||||
"svg": "achievement-three-warehouses.svg",
|
||||
"png": "achievement-three-warehouses.png",
|
||||
"svgSha256": "c61719e1cd65421e7ec224bd4d38e782f134c85ded040c75a96dc76668d62f97",
|
||||
"pngSha256": "84ca3b3e7ff3384271e90d12a23cb10427db76b1a9988d90a6a307b5b468cf29"
|
||||
},
|
||||
{
|
||||
"id": "five-warehouses",
|
||||
"key": "achievement-five-warehouses",
|
||||
"svg": "achievement-five-warehouses.svg",
|
||||
"png": "achievement-five-warehouses.png",
|
||||
"svgSha256": "9300a1a5844311ad9e746daaaae549ea9ddfa1a3e8439a27408c31bbf9597cee",
|
||||
"pngSha256": "235e3ad728b327db538c899c3e8ed9af5c6520fb90f57ff45cacfe7846d2c75b"
|
||||
},
|
||||
{
|
||||
"id": "island-fifteen",
|
||||
"key": "achievement-island-fifteen",
|
||||
"svg": "achievement-island-fifteen.svg",
|
||||
"png": "achievement-island-fifteen.png",
|
||||
"svgSha256": "00f99f6551100bdc0b1df2ba4bac918a74cf55ce82dd80af94f929576cd527b1",
|
||||
"pngSha256": "96c9fd2d89bfa2ab0c0ef5414131575665a8afe6091baf08090a58b50635d00a"
|
||||
},
|
||||
{
|
||||
"id": "island-ten",
|
||||
"key": "achievement-island-ten",
|
||||
"svg": "achievement-island-ten.svg",
|
||||
"png": "achievement-island-ten.png",
|
||||
"svgSha256": "e03931267faad0ada2ad82826d68447a128bea05e04bf4dddaf64ec389f9cb44",
|
||||
"pngSha256": "83cca008b31fe8e2e1b47f36224e95116889c5bcb3d01222da00632e16628c83"
|
||||
},
|
||||
{
|
||||
"id": "island-diversity",
|
||||
"key": "achievement-island-diversity",
|
||||
"svg": "achievement-island-diversity.svg",
|
||||
"png": "achievement-island-diversity.png",
|
||||
"svgSha256": "2bd2bfb4b9cde261a54af8c14bfabe453f3caf848d2c2e0c2041183f25584f53",
|
||||
"pngSha256": "e01ebf35ee933677f24d5a32a9a95ace5cb578ee28384a521daa65a1d3999961"
|
||||
},
|
||||
{
|
||||
"id": "full-ship",
|
||||
"key": "achievement-full-ship",
|
||||
"svg": "achievement-full-ship.svg",
|
||||
"png": "achievement-full-ship.png",
|
||||
"svgSha256": "25e695a850fc41dc712c67c3d1b55caac80e8cb0c7391fff9d6175e690763a3b",
|
||||
"pngSha256": "3ea1d6fb4fa01d1cfcd8e40f8414e70a31fc2185380c8fd10a22e6321ddf8535"
|
||||
},
|
||||
{
|
||||
"id": "warehouse-five",
|
||||
"key": "achievement-warehouse-five",
|
||||
"svg": "achievement-warehouse-five.svg",
|
||||
"png": "achievement-warehouse-five.png",
|
||||
"svgSha256": "f1f0ea5c55c8e52ec7edcfaca95ebe0874bea85e1edb5c2543401428bd55725d",
|
||||
"pngSha256": "cffc0a10d81f0b99c896b834bce85cf846c1acefd66c52489fa9e06b6655cbcd"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2,8 +2,12 @@
|
|||
|
||||
The engine wrapper exports the optional `achievementDefinitions()` and
|
||||
`achievements(GameState)` hooks using the published `@boardgamers/protocol/engine`
|
||||
0.11.0 types. The engine 2.1.9 review candidate has manifest revision **2**. IDs are permanent; never reuse them for
|
||||
another condition. Icons are omitted intentionally (platform generic fallback).
|
||||
0.11.0 types. The engine 2.1.10 artwork review candidate has manifest revision **3**.
|
||||
IDs are permanent; never reuse them for another condition. All 17 definitions now
|
||||
reference stable `achievement-<id>` assets. Original SVG/PNG artwork, provenance,
|
||||
reproduction instructions and contact sheets are in [achievement-art](achievement-art/README.md).
|
||||
Revision 3 changes only icon references; the revision 2 definitions and evaluator
|
||||
are unchanged. Upload and activation remain gated on independent review approval.
|
||||
|
||||
## Manifest
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "container-engine",
|
||||
"version": "2.1.9",
|
||||
"version": "2.1.10",
|
||||
"description": "An engine for Container",
|
||||
"main": "dist/index.js",
|
||||
"types": "index.ts",
|
||||
|
|
|
|||
|
|
@ -40,19 +40,21 @@ describe('per-game achievements', function () {
|
|||
for (const count of [3, 4, 5]) completed.push(complete(count));
|
||||
});
|
||||
|
||||
it('publishes a fresh, stable, secret-free revision-two manifest', () => {
|
||||
it('publishes a fresh, stable, secret-free revision-three manifest', () => {
|
||||
expect(hooks.achievementDefinitions).to.be.a('function');
|
||||
const manifest = wrapper.achievementDefinitions();
|
||||
expect(manifest.revision).to.equal(2);
|
||||
expect(manifest.revision).to.equal(3);
|
||||
expect(manifest.achievements.map((d) => d.id)).not.to.include('island-five');
|
||||
expect(manifest.achievements.find((d) => d.id === 'island-fifteen')).to.deep.equal({
|
||||
id: 'island-fifteen',
|
||||
name: 'Island Magnate',
|
||||
description: 'Finish with at least fifteen containers on your island.',
|
||||
icon: { type: 'asset', key: 'achievement-island-fifteen' },
|
||||
});
|
||||
expect(manifest.achievements).to.have.length(17);
|
||||
expect(new Set(manifest.achievements.map((d) => d.id)).size).to.equal(17);
|
||||
for (const definition of manifest.achievements) {
|
||||
expect(definition.icon).to.deep.equal({ type: 'asset', key: `achievement-${definition.id}` });
|
||||
expect(definition.id).to.match(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
||||
expect(definition.id.length).to.be.at.most(64);
|
||||
expect(definition.name).not.to.equal('');
|
||||
|
|
|
|||
|
|
@ -25,8 +25,13 @@ const definitions = [
|
|||
|
||||
export function achievementDefinitions(): AchievementManifest {
|
||||
return {
|
||||
revision: 2,
|
||||
achievements: definitions.map(([id, name, description]) => ({ id, name, description })),
|
||||
revision: 3,
|
||||
achievements: definitions.map(([id, name, description]) => ({
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
icon: { type: 'asset', key: `achievement-${id}` },
|
||||
})),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
178
scripts/generate-achievement-art.py
Normal file
|
|
@ -0,0 +1,178 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Original Container industrial geometry. Python 3.12, CairoSVG 2.8.2, Pillow 11.3.0.
|
||||
Run from any directory; SVGs are the editable sources, PNGs the upload inputs.
|
||||
No network inputs, fonts, randomness, or third-party artwork.
|
||||
"""
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import math
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
import cairosvg
|
||||
from PIL import Image, ImageDraw
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
OUT = ROOT / 'docs/achievement-art'
|
||||
INK, PAPER, GOLD, TEAL = '#132e3b', '#f5e8ce', '#f4b34a', '#58bab4'
|
||||
COLORS = ['#e98437', '#976444', '#f5e8ce', '#31414a', '#c7a16c']
|
||||
|
||||
|
||||
def path(d, fill=INK, stroke=None, width=3):
|
||||
return f'<path d="{d}" fill="{fill}"' + (f' stroke="{stroke}" stroke-width="{width}" stroke-linejoin="round" stroke-linecap="round"' if stroke else '') + '/>'
|
||||
|
||||
|
||||
def rect(x, y, w, h, fill, stroke=INK, width=2):
|
||||
return f'<rect x="{x}" y="{y}" width="{w}" height="{h}" fill="{fill}" stroke="{stroke}" stroke-width="{width}"/>'
|
||||
|
||||
|
||||
def group(content, x=0, y=0, scale=1):
|
||||
return f'<g transform="translate({x} {y}) scale({scale})">{content}</g>'
|
||||
|
||||
|
||||
def cargo(x, y, color=0, w=15, h=13, pattern=False):
|
||||
s = rect(x, y, w, h, COLORS[color], PAPER if color == 3 else INK, 1.5)
|
||||
if pattern:
|
||||
# Distinct redundant patterns for the five actual game colors.
|
||||
d = [f'M{x+3} {y+h-3} L{x+w-3} {y+3}', f'M{x+3} {y+3} L{x+w-3} {y+h-3}', f'M{x+w/2} {y+2} V{y+h-2}', f'M{x+3} {y+h/2} H{x+w-3}', f'M{x+3} {y+3} L{x+w/2} {y+h-3} L{x+w-3} {y+3}'][color]
|
||||
s += path(d, 'none', PAPER if color in (1, 3) else INK, 2)
|
||||
else:
|
||||
s += path(f'M{x+w/3} {y+3} V{y+h-3} M{x+2*w/3} {y+3} V{y+h-3}', 'none', PAPER if color == 3 else INK, 1)
|
||||
return s
|
||||
|
||||
|
||||
def flag(x, y):
|
||||
return path(f'M{x} {y+25} V{y}', 'none', PAPER, 3) + path(f'M{x+2} {y} H{x+24} L{x+17} {y+7} L{x+24} {y+14} H{x+2} Z', GOLD)
|
||||
|
||||
|
||||
def ship(full=False):
|
||||
s = path('M20 75 H109 L96 91 H34 Z', PAPER, INK, 2)
|
||||
s += rect(24, 52, 15, 22, TEAL) + rect(27, 46, 6, 6, PAPER)
|
||||
s += rect(27, 57, 8, 6, INK, INK, 0)
|
||||
if full:
|
||||
s += ''.join(cargo(41+i*13, 60, i, 12, 14) for i in range(5))
|
||||
else:
|
||||
s += cargo(43, 59, 0, 22, 15) + cargo(67, 59, 4, 22, 15)
|
||||
return s + path('M28 99 H48 L54 95 H75 L81 99 H101', 'none', TEAL, 3)
|
||||
|
||||
|
||||
def factory(x, y, scale=1):
|
||||
s = rect(3, 0, 6, 23, GOLD) + path('M0 17 L12 9 V17 L24 9 V33 H0 Z', PAPER, INK, 2)
|
||||
s += rect(5, 23, 5, 10, TEAL) + rect(15, 23, 5, 10, TEAL)
|
||||
return group(s, x, y, scale)
|
||||
|
||||
|
||||
def warehouse(x, y, scale=1):
|
||||
return group(path('M0 12 L14 0 L28 12 V34 H0 Z', PAPER, INK, 2) + rect(6, 16, 16, 18, TEAL) + path('M9 22 H19 M9 27 H19', 'none', INK, 2), x, y, scale)
|
||||
|
||||
|
||||
def check(x, y, scale=1):
|
||||
return group(path('M0 10 L8 18 L25 0', 'none', TEAL, 6), x, y, scale)
|
||||
|
||||
|
||||
def ledger():
|
||||
return rect(35, 28, 58, 70, PAPER, GOLD, 3) + path('M45 43 H81 M45 53 H74 M45 63 H68', 'none', INK, 4) + check(53, 73)
|
||||
|
||||
|
||||
def number(n, x, y, scale=1):
|
||||
# Hand-drawn geometric digits; never dependent on installed fonts.
|
||||
digits = {'0': 'M0 0 H8 V14 H0 Z', '1': 'M1 3 L5 0 V14 M1 14 H9', '5': 'M9 0 H0 V7 H8 V14 H0'}
|
||||
return group(''.join(group(path(digits[c], 'none', PAPER, 2.5), i*14) for i, c in enumerate(str(n))), x, y, scale)
|
||||
|
||||
|
||||
def composition(id):
|
||||
if id == 'win':
|
||||
return flag(57, 23) + ship()
|
||||
if id.startswith('win-'):
|
||||
n = {'win-three-player': 3, 'win-four-player': 4, 'win-five-player': 5}[id]
|
||||
s = ''
|
||||
# Separate company quay-and-office units; exactly n, not cargo counters.
|
||||
for i in range(n):
|
||||
a = -math.pi/2 + i*2*math.pi/n
|
||||
x, y = 64+39*math.cos(a), 62+37*math.sin(a)
|
||||
s += group(rect(-10, -9, 20, 18, PAPER) + rect(-6, -5, 4, 5, INK) + rect(2, -5, 4, 5, INK) + rect(-8, 9, 16, 8, GOLD), round(x, 2), round(y, 2))
|
||||
return s + group(ship(), 29, 16, .55) + group(flag(0, 0), 76, 35, .65)
|
||||
if id == 'debt-free-win':
|
||||
return group(ledger(), 49, 0, .68) + flag(27, 28) + group(ship(), 0, 23, .90)
|
||||
if id == 'debt-free':
|
||||
return ledger() + path('M26 37 H20 V103 H81 V107', 'none', TEAL, 3)
|
||||
if id.startswith('score-'):
|
||||
high = id == 'score-150'
|
||||
s = ''
|
||||
if high:
|
||||
s += factory(28, 20, .8) + factory(53, 14, .9) + factory(82, 24, .7)
|
||||
else:
|
||||
s += cargo(40, 26, 0, 22, 17) + rect(70, 26, 20, 17, GOLD) + path('M75 34 H85', 'none', INK)
|
||||
s += path('M22 52 L61 47 L64 52 L67 47 L106 52 V88 L67 83 L64 88 L61 83 L22 88 Z', PAPER, INK, 3)
|
||||
s += path('M64 54 V81 M30 61 H52 M30 71 H52 M76 61 H97 M76 71 H97', 'none', TEAL, 4)
|
||||
if high:
|
||||
s += rect(22, 87, 17, 7, GOLD) + rect(89, 87, 17, 7, GOLD)
|
||||
return s + number(150 if high else 100, 45, 96, .95)
|
||||
if id.endswith('factories'):
|
||||
n = 3 if id.startswith('three') else 4
|
||||
if n == 3:
|
||||
return path('M39 73 L64 40 L90 73 Z', 'none', TEAL, 5) + factory(52, 21) + factory(22, 69) + factory(82, 69)
|
||||
return path('M41 43 H86 V87 H41 Z', 'none', TEAL, 5) + ''.join(factory(x, y, .95) for x, y in [(26, 22), (78, 22), (26, 73), (78, 73)])
|
||||
if id.endswith('warehouses'):
|
||||
if id.startswith('three'):
|
||||
return path('M23 94 H106', 'none', GOLD, 5) + ''.join(warehouse(x, 48) for x in (20, 50, 80))
|
||||
return path('M39 41 H88 V90 H39 Z', 'none', GOLD, 5) + ''.join(warehouse(x, y, .75) for x, y in [(28, 26), (53, 21), (78, 26), (29, 76), (78, 76)])
|
||||
if id.startswith('island-'):
|
||||
s = path('M17 70 L27 40 L63 29 L101 44 L111 76 L95 96 L37 99 Z', TEAL, PAPER, 3)
|
||||
s += path('M21 104 H43 M85 104 H104', 'none', TEAL, 3)
|
||||
if id == 'island-diversity':
|
||||
for i, (x,y) in enumerate([(36,43), (67,43), (24,68), (54,68), (84,68)]):
|
||||
s += cargo(x,y,i,21,19,True)
|
||||
else:
|
||||
n = 15 if id == 'island-fifteen' else 10
|
||||
for i in range(n):
|
||||
s += cargo(27+(i%5)*15, 43+(i//5)*17, i%5, 13, 14)
|
||||
s += rect(47, 96, 35, 20, INK, INK, 0) + number(n, 51, 98)
|
||||
return s
|
||||
if id == 'full-ship':
|
||||
return ship(True) + path('M43 47 H104 M43 43 V51 M104 43 V51', 'none', GOLD, 3)
|
||||
if id == 'warehouse-five':
|
||||
s = path('M17 49 L64 24 L111 49 V99 H17 Z', PAPER, INK, 3)
|
||||
s += path('M25 49 H103 M24 93 H104', 'none', TEAL, 4)
|
||||
s += ''.join(cargo(24+i*16, 67, i, 15, 21) for i in range(5))
|
||||
return s
|
||||
raise ValueError(id)
|
||||
|
||||
|
||||
def main():
|
||||
OUT.mkdir(parents=True, exist_ok=True)
|
||||
source = (ROOT / 'engine/src/achievements.ts').read_text()
|
||||
ids = re.findall(r"^ \['([^']+)',", source, re.M)
|
||||
assert len(ids) == 17 and len(set(ids)) == 17
|
||||
entries = []
|
||||
for id in ids:
|
||||
key = f'achievement-{id}'
|
||||
svg = '<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 128 128">'
|
||||
svg += '<circle cx="64" cy="64" r="62" fill="'+INK+'" stroke="'+GOLD+'" stroke-width="3"/>'
|
||||
svg += composition(id) + '</svg>\n'
|
||||
(OUT / f'{key}.svg').write_text(svg)
|
||||
png = cairosvg.svg2png(bytestring=svg.encode(), output_width=256, output_height=256)
|
||||
(OUT / f'{key}.png').write_bytes(png)
|
||||
entries.append({'id': id, 'key': key, 'svg': f'{key}.svg', 'png': f'{key}.png', 'svgSha256': hashlib.sha256(svg.encode()).hexdigest(), 'pngSha256': hashlib.sha256(png).hexdigest()})
|
||||
manifest = {'game': 'container', 'engineVersion': '2.1.10', 'revision': 3, 'baseline': '99e60d5e8f4111f0435d9ea911e2431ec8ef2f7f', 'issue': 'https://codeberg.org/boardgamers/boardgamers/issues/595', 'license': 'MIT', 'provenance': 'Original programmatic geometric compositions; no external artwork or fonts. Palette follows the five ContainerColor identities in engine/src/gamestate.ts, not commercial artwork.', 'generator': 'scripts/generate-achievement-art.py', 'generatorSha256': hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), 'assets': entries}
|
||||
(OUT / 'manifest.json').write_text(json.dumps(manifest, indent=4)+'\n')
|
||||
for size in (32, 48, 64):
|
||||
row_h = max(58, size+12)
|
||||
sheet = Image.new('RGB', (880, row_h*len(entries)+34), '#c8cdd0')
|
||||
draw = ImageDraw.Draw(sheet)
|
||||
draw.text((12, 10), f'CONTAINER / {size}px actual size / light + dark circular badges', fill=INK)
|
||||
for i, entry in enumerate(entries):
|
||||
y = 34+i*row_h
|
||||
draw.rectangle((0,y,439,y+row_h), fill='#faf7ee')
|
||||
draw.rectangle((440,y,879,y+row_h), fill='#111a22')
|
||||
icon = Image.open(OUT/entry['png']).convert('RGBA').resize((size,size), Image.Resampling.LANCZOS)
|
||||
for x, textcolor in [(12,INK), (452,'#f5e8ce')]:
|
||||
sheet.paste(icon, (x,y+6), icon)
|
||||
draw.text((x+size+16,y+size//2), entry['id'], fill=textcolor)
|
||||
sheet.save(OUT / f'contact-sheet-{size}.png')
|
||||
print(f'Generated {len(entries)} original SVG + PNG pairs and 32/48/64px sheets in {OUT}')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
42
scripts/test-achievement-art.py
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Verify artwork bytes, dimensions, coverage, and unchanged authoritative rules."""
|
||||
import hashlib
|
||||
import json
|
||||
import re
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
from PIL import Image
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
OUT = ROOT / 'docs/achievement-art'
|
||||
manifest = json.loads((OUT / 'manifest.json').read_text())
|
||||
source = (ROOT / 'engine/src/achievements.ts').read_text()
|
||||
baseline = subprocess.check_output(['git', 'show', manifest['baseline']+':engine/src/achievements.ts'], cwd=ROOT, text=True)
|
||||
# Entire definitions and entire evaluator byte-for-byte, not a selection of conditions.
|
||||
assert source.split('export function achievementDefinitions')[0] == baseline.split('export function achievementDefinitions')[0]
|
||||
assert source.split('/** Money is already')[1] == baseline.split('/** Money is already')[1]
|
||||
ids = re.findall(r"^ \['([^']+)',", source, re.M)
|
||||
assert [a['id'] for a in manifest['assets']] == ids
|
||||
assert len(ids) == len(set(ids)) == 17
|
||||
assert 'island-fifteen' in ids and not {'island-five', 'warehouse-six'} & set(ids)
|
||||
assert manifest['revision'] == 3 and manifest['engineVersion'] == '2.1.10'
|
||||
assert json.loads((ROOT/'engine/package.json').read_text())['version'] == manifest['engineVersion']
|
||||
assert hashlib.sha256((ROOT/manifest['generator']).read_bytes()).hexdigest() == manifest['generatorSha256']
|
||||
hashes = set()
|
||||
for a in manifest['assets']:
|
||||
assert a['key'] == 'achievement-'+a['id']
|
||||
for ext in ('svg', 'png'):
|
||||
file = OUT / a[ext]
|
||||
assert file.name == a['key']+'.'+ext
|
||||
assert hashlib.sha256(file.read_bytes()).hexdigest() == a[ext+'Sha256']
|
||||
with Image.open(OUT/a['png']) as im:
|
||||
im.load()
|
||||
assert im.size == (256, 256) and im.mode == 'RGBA'
|
||||
assert im.getpixel((0,0))[3] == 0
|
||||
hashes.add(hashlib.sha256(im.tobytes()).hexdigest())
|
||||
assert len(hashes) == 17
|
||||
for size in (32,48,64):
|
||||
with Image.open(OUT/f'contact-sheet-{size}.png') as im:
|
||||
im.load()
|
||||
assert im.width == 880
|
||||
print('PASS: 17 IDs and full evaluator unchanged; refs, source hashes, unique decoded 256px assets, 32/48/64px sheets')
|
||||
46
scripts/test-packed-achievement-art.cjs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
// Usage: node scripts/test-packed-achievement-art.cjs /absolute/path/to/extracted/package
|
||||
// The extracted package needs its installed runtime dependencies resolvable.
|
||||
const assert = require('node:assert/strict');
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const root = path.resolve(__dirname, '..');
|
||||
const packed = path.resolve(process.argv[2]);
|
||||
const hooks = require(path.join(packed, 'dist/wrapper.js'));
|
||||
const { setup } = require(path.join(packed, 'dist/index.js'));
|
||||
const manifest = require(path.join(root, 'docs/achievement-art/manifest.json'));
|
||||
assert.equal(require(path.join(packed, 'package.json')).version, manifest.engineVersion);
|
||||
const definitions = hooks.achievementDefinitions();
|
||||
assert.equal(definitions.revision, manifest.revision);
|
||||
assert.deepEqual(
|
||||
definitions.achievements.map((a) => a.id),
|
||||
manifest.assets.map((a) => a.id)
|
||||
);
|
||||
for (const a of definitions.achievements) {
|
||||
assert.deepEqual(a.icon, { type: 'asset', key: `achievement-${a.id}` });
|
||||
assert.ok(fs.existsSync(path.join(root, 'docs/achievement-art', `${a.icon.key}.png`)));
|
||||
}
|
||||
const seedrandom = require(path.join(root, 'engine/node_modules/seedrandom'));
|
||||
for (const n of [3, 4, 5]) {
|
||||
const previous = Math.random;
|
||||
Math.random = seedrandom(`art-packed-${n}`);
|
||||
try {
|
||||
let game = setup(n, {}, `art-packed-${n}`);
|
||||
for (let i = 0; i < 20000 && !hooks.ended(game); i++) {
|
||||
game = hooks.moveAI(game, game.currentPlayers[0]);
|
||||
}
|
||||
assert.ok(hooks.ended(game));
|
||||
const serialized = JSON.stringify(game);
|
||||
const awards = hooks.achievements(JSON.parse(serialized));
|
||||
assert.equal(awards.length, n);
|
||||
assert.deepEqual(hooks.achievements(hooks.replay(game)), awards);
|
||||
assert.equal(JSON.stringify(game), serialized);
|
||||
for (const row of awards) {
|
||||
for (const id of row.earned) assert.ok(manifest.assets.some((a) => a.id === id));
|
||||
}
|
||||
} finally {
|
||||
Math.random = previous;
|
||||
}
|
||||
}
|
||||
console.log(
|
||||
'PASS: exact extracted 2.1.10 package, revision 3, all 17 asset refs, legal 3/4/5-player completion and replay'
|
||||
);
|
||||