From 00381740bceb3950bcf3f43b31bef7bceb4896ab Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Thu, 5 Nov 2026 17:08:56 +0000 Subject: [PATCH] Clarify and sort game creation length labels --- docs/monumental-length-option.proposal.json | 10 +++++----- web-client/bgs-length-option.json | 10 +++++----- web-client/src/game-length.test.ts | 11 +++++++---- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/docs/monumental-length-option.proposal.json b/docs/monumental-length-option.proposal.json index b2d9c22d..334c67e4 100644 --- a/docs/monumental-length-option.proposal.json +++ b/docs/monumental-length-option.proposal.json @@ -4,10 +4,10 @@ "name": "length", "default": "Standard", "items": [ - { "name": "Standard", "label": "Normal — 6 ages" }, - { "name": "Shorter", "label": "Shorter — 4 ages, 2 settlers, two free advances" }, - { "name": "RollToEnd", "label": "Roll to End, up to 7 ages" }, - { "name": "WonderfulEnding", "label": "Wonderful Ending, up to 7 ages" }, - { "name": "Epic", "label": "Epic — 8 ages" } + { "name": "Shorter", "label": "4 ages — 2 settlers, 2 free advances per status phase" }, + { "name": "Standard", "label": "6 ages" }, + { "name": "RollToEnd", "label": "6–7 ages — roll to end" }, + { "name": "WonderfulEnding", "label": "6–7 ages — wonderful ending" }, + { "name": "Epic", "label": "8 ages" } ] } diff --git a/web-client/bgs-length-option.json b/web-client/bgs-length-option.json index b2d9c22d..334c67e4 100644 --- a/web-client/bgs-length-option.json +++ b/web-client/bgs-length-option.json @@ -4,10 +4,10 @@ "name": "length", "default": "Standard", "items": [ - { "name": "Standard", "label": "Normal — 6 ages" }, - { "name": "Shorter", "label": "Shorter — 4 ages, 2 settlers, two free advances" }, - { "name": "RollToEnd", "label": "Roll to End, up to 7 ages" }, - { "name": "WonderfulEnding", "label": "Wonderful Ending, up to 7 ages" }, - { "name": "Epic", "label": "Epic — 8 ages" } + { "name": "Shorter", "label": "4 ages — 2 settlers, 2 free advances per status phase" }, + { "name": "Standard", "label": "6 ages" }, + { "name": "RollToEnd", "label": "6–7 ages — roll to end" }, + { "name": "WonderfulEnding", "label": "6–7 ages — wonderful ending" }, + { "name": "Epic", "label": "8 ages" } ] } diff --git a/web-client/src/game-length.test.ts b/web-client/src/game-length.test.ts index 85a89120..7571a454 100644 --- a/web-client/src/game-length.test.ts +++ b/web-client/src/game-length.test.ts @@ -14,10 +14,13 @@ test('published creation choices match the approved modes and preserve the defau ); assert.deepEqual(option, proposal); assert.equal(option.default, 'Standard'); - assert.deepEqual( - option.items.map((item: { name: string }) => item.name), - ['Standard', 'Shorter', 'RollToEnd', 'WonderfulEnding', 'Epic'], - ); + assert.deepEqual(option.items, [ + { name: 'Shorter', label: '4 ages — 2 settlers, 2 free advances per status phase' }, + { name: 'Standard', label: '6 ages' }, + { name: 'RollToEnd', label: '6–7 ages — roll to end' }, + { name: 'WonderfulEnding', label: '6–7 ages — wonderful ending' }, + { name: 'Epic', label: '8 ages' }, + ]); for (const item of option.items) { const game = JSON.parse(await engine.init(2, [], { length: item.name }, 'creation-options', {})); assert.equal(game.options?.length ?? 'Standard', item.name);