Support Advanced Semuta at Sapho auction ordering
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-11-16 18:54:59 +11:00
1 parent 868713eeb9
commit dd4222ee92
9 files changed
+270 -19

No files matched your search

@@ -6,7 +6,8 @@ import { DIFFICULTIES } from '../game/bot-profiles';
import { createTruthtranceRichesePromisesFixture, advanceTruthtranceRichesePromises as advance,
actTruthtranceRichesePromises as act, truthtranceRichesePromisesInventory as inventory } from './fixture-truthtrance-richese-promises';
import { truthOrderFrame as frame, playSaphoTruthOrder as play,
finishTruthOrder as finish, finishOriginalTruthQuestions as answer, rejectSaphoTruthOrder as reject } from './fixture-sapho-truth-order';
finishTruthOrder as finish, finishOriginalTruthQuestions as answer, rejectSaphoTruthOrder as reject,
passFreshDiscard } from './fixture-sapho-truth-order';
const player = (game: Game, id: string) => { const p = game.players.find(row => row.id === id); assert.ok(p); return p; };
type Method = 'normal' | 'onceAround' | 'silent';
@@ -80,6 +81,7 @@ for (const method of ['normal','onceAround','silent'] as const) void test(
let game = play(f.game,'emperor',f.card,f.mode);
assertParent(game,f);
if (method === 'silent') assertSilent(game,f.bidder);
game = passFreshDiscard(game);
game = finish(game);
assert.equal(f.mode === 'first' ? game.truthtrance!.queue[0].player : game.truthtrance!.queue.at(-1)!.player,'emperor');
game = answer(game); assert.equal(game.truthtrance,null); assertParent(game,f);