병합: wt2/seotda
This commit is contained in:
@@ -1494,15 +1494,29 @@ const PLANS: Record<string, Plan> = {
|
||||
},
|
||||
},
|
||||
seotda: {
|
||||
// 3 players, default 2장 섯다 (1장씩 두 번): everyone checks both betting rounds → showdown.
|
||||
// A tie (or 구사) starts a 재경기 with the same pot, so keep checking until the hand result shows up.
|
||||
// 3 players, default 2장 섯다 (2장 한 번에, 베팅 1번): whoever acts first bets 하프 (coins fly to the 판돈),
|
||||
// the others call → showdown. A tie (or 구사) starts a 재경기 with the same 판돈, so keep calling/checking
|
||||
// until the hand result shows up. Screenshots: mid-hand PC/phone (light + dark) and the result.
|
||||
players: 3,
|
||||
drive: async (pages) => {
|
||||
await pressActions(pages, /^(체크|콜)/, 6);
|
||||
await pressActions(pages, /^하프/, 1);
|
||||
await pages[0]!.waitForTimeout(700);
|
||||
for (const p of pages.slice(0, 2)) {
|
||||
const tag = (p.viewportSize()?.width ?? 0) < 600 ? 'phone' : 'pc';
|
||||
await p.screenshot({ path: join(SHOTS, `seotda-mid-${tag}.png`), fullPage: tag === 'phone' });
|
||||
await p.emulateMedia({ colorScheme: 'dark' });
|
||||
await p.waitForTimeout(150);
|
||||
await p.screenshot({ path: join(SHOTS, `seotda-mid-${tag}-dark.png`), fullPage: tag === 'phone' });
|
||||
await p.emulateMedia({ colorScheme: 'light' });
|
||||
}
|
||||
await pressActions(pages, /^(체크|콜)/, 2);
|
||||
for (let extra = 0; extra < 30 && !(await pages[0]!.getByText('이번 판 결과').count()); extra++) {
|
||||
await pressActions(pages, /^(체크|콜)/, 1).catch(() => {});
|
||||
}
|
||||
await finishHand(pages);
|
||||
await pages[0]!.waitForTimeout(600);
|
||||
await pages[0]!.screenshot({ path: join(SHOTS, 'seotda-result-pc.png') });
|
||||
await pages[1]!.screenshot({ path: join(SHOTS, 'seotda-result-phone.png'), fullPage: true });
|
||||
},
|
||||
},
|
||||
poker: {
|
||||
|
||||
Reference in New Issue
Block a user