Release Offshore Island engine 2.2.0 and viewer 2.1.0
This commit is contained in:
parent
a0d46a4daa
commit
0a111ad296
5 changed files with 14 additions and 12 deletions
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
The engine wrapper exports the optional `achievementDefinitions()` and
|
The engine wrapper exports the optional `achievementDefinitions()` and
|
||||||
`achievements(GameState)` hooks using the published `@boardgamers/protocol/engine`
|
`achievements(GameState)` hooks using the published `@boardgamers/protocol/engine`
|
||||||
0.11.0 types. The working manifest is revision **4** with 19 achievements; no
|
0.11.0 types. Engine **2.2.0** includes manifest revision **4** with 19
|
||||||
package version bump, publication or activation is part of this expansion work.
|
achievements as part of the authorized Offshore Island release.
|
||||||
IDs are permanent; never reuse them for another condition. The original 17
|
IDs are permanent; never reuse them for another condition. The original 17
|
||||||
definitions, conditions and stable `achievement-<id>` asset references remain
|
definitions, conditions and stable `achievement-<id>` asset references remain
|
||||||
unchanged. Original SVG/PNG artwork, provenance, reproduction instructions and
|
unchanged. Original SVG/PNG artwork, provenance, reproduction instructions and
|
||||||
contact sheets are in [achievement-art](achievement-art/README.md).
|
contact sheets are in [achievement-art](achievement-art/README.md).
|
||||||
The historical revision-3 artwork manifest and release receipt are preserved,
|
The historical revision-3 artwork manifest and release receipt are preserved,
|
||||||
not regenerated. Upload and activation remain gated on independent review approval.
|
not regenerated. The Offshore additions were reviewed and tested before release authorization.
|
||||||
|
|
||||||
Revision 4 adds **Offshore Magnate** (`offshore-win`) and **Two-Way Trade**
|
Revision 4 adds **Offshore Magnate** (`offshore-win`) and **Two-Way Trade**
|
||||||
(`offshore-trader`). Both require `options.offshoreIsland === true` and the same
|
(`offshore-trader`). Both require `options.offshoreIsland === true` and the same
|
||||||
|
|
@ -51,7 +51,7 @@ not require a victory.
|
||||||
| `offshore-win` | Sole winner of a completed Offshore Island expansion game |
|
| `offshore-win` | Sole winner of a completed Offshore Island expansion game |
|
||||||
| `offshore-trader` | Win a cash bank auction and a container bank auction in the same completed expansion game |
|
| `offshore-trader` | Win a cash bank auction and a container bank auction in the same completed expansion game |
|
||||||
|
|
||||||
## Revision 2 change (pending coordinator approval)
|
## Revision 2 change (historical)
|
||||||
|
|
||||||
Engine 2.1.9 replaces `island-five` / **Island Investor** (at least five island
|
Engine 2.1.9 replaces `island-five` / **Island Investor** (at least five island
|
||||||
containers) with the new ID `island-fifteen` / **Island Magnate** (at least fifteen).
|
containers) with the new ID `island-fifteen` / **Island Magnate** (at least fifteen).
|
||||||
|
|
@ -61,9 +61,8 @@ completed game reaching exactly fifteen and reproducing the award on replay.
|
||||||
|
|
||||||
No existing award migration, deletion, or backfill is performed. The old ID is
|
No existing award migration, deletion, or backfill is performed. The old ID is
|
||||||
retired, never reused; any existing platform records are left untouched.
|
retired, never reused; any existing platform records are left untouched.
|
||||||
Engine 2.1.8 / revision 1 remains the previously delivered release; this review
|
This change subsequently shipped with the revision-3 artwork in engine 2.1.10.
|
||||||
candidate must not be uploaded or activated until coordinator authorization.
|
The historical activation receipt remains unchanged.
|
||||||
The prior release receipt is unchanged.
|
|
||||||
|
|
||||||
## Threshold attainability audit
|
## Threshold attainability audit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "container-engine",
|
"name": "container-engine",
|
||||||
"version": "2.1.10",
|
"version": "2.2.0",
|
||||||
"description": "An engine for Container",
|
"description": "An engine for Container",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "index.ts",
|
"types": "index.ts",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ assert [a['id'] for a in manifest['assets']] == ids
|
||||||
assert len(ids) == len(set(ids)) == 17
|
assert len(ids) == len(set(ids)) == 17
|
||||||
assert 'island-fifteen' in ids and not {'island-five', 'warehouse-six'} & set(ids)
|
assert 'island-fifteen' in ids and not {'island-five', 'warehouse-six'} & set(ids)
|
||||||
assert manifest['revision'] == 3 and manifest['engineVersion'] == '2.1.10'
|
assert manifest['revision'] == 3 and manifest['engineVersion'] == '2.1.10'
|
||||||
assert json.loads((ROOT/'engine/package.json').read_text())['version'] == manifest['engineVersion']
|
# This manifest attests the historical artwork release, not the current engine version.
|
||||||
assert hashlib.sha256((ROOT/manifest['generator']).read_bytes()).hexdigest() == manifest['generatorSha256']
|
assert hashlib.sha256((ROOT/manifest['generator']).read_bytes()).hexdigest() == manifest['generatorSha256']
|
||||||
hashes = set()
|
hashes = set()
|
||||||
for a in manifest['assets']:
|
for a in manifest['assets']:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,10 @@ const packed = path.resolve(process.argv[2]);
|
||||||
const hooks = require(path.join(packed, 'dist/wrapper.js'));
|
const hooks = require(path.join(packed, 'dist/wrapper.js'));
|
||||||
const { setup } = require(path.join(packed, 'dist/index.js'));
|
const { setup } = require(path.join(packed, 'dist/index.js'));
|
||||||
const manifest = require(path.join(root, 'docs/achievement-art/manifest.json'));
|
const manifest = require(path.join(root, 'docs/achievement-art/manifest.json'));
|
||||||
assert.equal(require(path.join(packed, 'package.json')).version, manifest.engineVersion);
|
assert.equal(
|
||||||
|
require(path.join(packed, 'package.json')).version,
|
||||||
|
require(path.join(root, 'engine/package.json')).version
|
||||||
|
);
|
||||||
const definitions = hooks.achievementDefinitions();
|
const definitions = hooks.achievementDefinitions();
|
||||||
assert.equal(definitions.revision, 4);
|
assert.equal(definitions.revision, 4);
|
||||||
const historical = definitions.achievements.filter((a) => !a.id.startsWith('offshore-'));
|
const historical = definitions.achievements.filter((a) => !a.id.startsWith('offshore-'));
|
||||||
|
|
@ -51,5 +54,5 @@ for (const n of [3, 4, 5]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(
|
console.log(
|
||||||
'PASS: exact extracted 2.1.10 package, revision 4, 17 historical asset refs and 2 text badges, legal 3/4/5-player completion and replay'
|
`PASS: exact extracted ${require(path.join(packed, 'package.json')).version} package, revision 4, 17 historical asset refs and 2 text badges, legal 3/4/5-player completion and replay`
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "container-viewer",
|
"name": "container-viewer",
|
||||||
"version": "2.0.16",
|
"version": "2.1.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/boardgamers/container.git",
|
"url": "git+https://github.com/boardgamers/container.git",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue