v0.8.0.11 — sixteen fixes from the second multiplayer playtest
Arrivals name whose Office they reached, and no longer tell every seat they can work the train. The turn chart follows the animation queue, so being five behind looks five behind across the whole screen rather than half of it. Pause sits beside Skip and preserves the dwell a held step still owed. A one-render look at another player's Office Area. The district summary counts the board being shown. LIMITS is printed beneath its card instead of through its border. The Mainline region divider is visible. Only Hilly mentions FAST/SLOW, because it is the only card that reads it. A passenger Modifier on a Whistle Post reports itself dormant rather than claiming the facility "only receives". An automatic phase says what the Division is doing instead of answering by negation. The version appears once in the header rather than twice on every .s9pk. Save files carry the join code, the Stage and the date. The New Train phase, reviewed before being changed: the make-up panel now says what the train STILL needs rather than only what its card calls for, explains that a player adds one car before the round passes on, marks the train being loaded on the Division map, and gives an addable car in the yard the same amber every other clickable thing on the page wears. Reasoning, measurements and the reports behind each are in CHANGELOG.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017nnuCv8UodHucFfx3LWEoX
This commit is contained in:
co-authored by
Claude Opus 5
parent
4adf149ba5
commit
9a9e50b3c6
+24
-1
@@ -2641,8 +2641,16 @@ describe('the static build', () => {
|
||||
*/
|
||||
const base = { day: 2, stage: 5, clock: '2:20', phase: 'Mainline', phaseKey: 'mainline' };
|
||||
|
||||
/**
|
||||
* AND AN AUTOMATIC PHASE NAMES THE WORK, NOT AN ABSENCE (playtest, 2026-09-16). It used to read
|
||||
* "waiting on nobody — the Division is running itself": an answer by negation, on a line whose
|
||||
* whole job is to say where the game is. `base` is the Mainline Phase, so this is the case Jesse
|
||||
* described — the Division moving trains with nobody to wait for.
|
||||
*/
|
||||
const idle = turnChartHtml({ ...base, actor: null, awaiting: null }, null, 'Bob');
|
||||
assert.match(idle, /nobody — the Division is running itself/, 'an automatic phase should say so');
|
||||
assert.match(idle, /the Division is moving trains/, 'an automatic phase should say what it is doing');
|
||||
assert.doesNotMatch(idle, /waiting on/, 'nobody is being waited on, so the line must not claim it');
|
||||
assert.doesNotMatch(idle, /nobody/, 'the line still answers by negation');
|
||||
|
||||
for (const [asks, train] of [
|
||||
['a clearance ruling', 'Train 4'],
|
||||
@@ -2767,6 +2775,21 @@ describe('the static build', () => {
|
||||
assert.ok(fallback !== '', 'the no-git fallback moved and this test cannot see it any more');
|
||||
assert.doesNotMatch(fallback, /^'nogit'$|^"nogit"$/, 'the no-git fallback is a constant again');
|
||||
assert.match(fallback, /Date\.now\(\)/, 'the no-git fallback carries nothing that varies per build');
|
||||
/**
|
||||
* AND IT MUST NOT LEAD WITH THE VERSION — which is what fixing the constant first reached for.
|
||||
*
|
||||
* The stamp is `v${pkg.version} · ${git} · ${when}Z`, so a fallback of `${pkg.version}-${…}`
|
||||
* spends the version twice, and does it on precisely the builds that take this path: every
|
||||
* `.s9pk`, because the Dockerfile copies the tree in without `.git`. Reported from play —
|
||||
* Jesse, 2026-09-16: *"the version number is in the header twice."* The uniqueness this test
|
||||
* exists to defend comes from the timestamp, not from the version, so the two requirements do
|
||||
* not compete.
|
||||
*/
|
||||
assert.doesNotMatch(
|
||||
fallback,
|
||||
/pkg\.version/,
|
||||
'the no-git fallback repeats the version the stamp already prints in front of it',
|
||||
);
|
||||
});
|
||||
|
||||
it('lets a build-tagged URL be cached and nothing else', () => {
|
||||
|
||||
Reference in New Issue
Block a user