Check Advanced victory after Mentat actions
Verify and publish checkpoint container / container (push) Successful in 10m42s

This commit is contained in:
Quintine committed 2026-10-29 09:15:34 +11:00
1 parent c608d6fea6
commit 64706cc7e0
12 files changed
+339 -27

No files matched your search

+4
View File
@@ -62,6 +62,10 @@ function actual(g: Game) {
g = structuredClone(g);
g.phase = 7;
for (const p of g.players) g = applyAction(g, p.id, { type: 'ready' });
if (g.advanced && g.phase === 8 && g.status === 'playing' && !g.victoryContinuation) {
// Fresh Advanced games check the quote after every Mentat opportunity.
for (const p of g.players) g = applyAction(g, p.id, { type: 'ready' });
}
return g;
}
function compare(g: Game, winner: string[]) {