Enable Semuta in public Discovery games
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
b2b9a024bd
commit
98ead3a4b5
11 files changed
+436
-8
No files matched your search
@@ -75,6 +75,9 @@ for (const advanced of [false, true]) void test(
|
||||
let game = applyAction(prior, f.holder, {type:'card', card:CARD, scope:option.scope, event:option.event, mode:option.mode});
|
||||
assert.deepEqual(game.order, prior.order);
|
||||
assert.deepEqual(game.ecologicalStorm?.queue?.order, [...f.occupants].reverse());
|
||||
assert.equal(game.pendingTreacheryDiscard?.batch.cause, 'sapho:station');
|
||||
const discardEvent = game.pendingTreacheryDiscard!.batch.event;
|
||||
for (const player of game.players) game = applyAction(game, player.id, {type:'semutaPass', event:discardEvent});
|
||||
assert.equal(game.decision?.player, f.holder);
|
||||
assert.equal(game.discard.filter(card => card.id === CARD).length, 1);
|
||||
for (const delta of [1, -1]) {
|
||||
|
||||
Reference in new issue
Block a user