라이어 게임: 설명·토론·투표·정답 맞히기 시간 무제한(할 일을 마칠 때까지, 연결 끊긴 사람은 유예 뒤 넘김), 설명·투표·지목 소리, 움직임

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-13 13:18:52 +09:00
parent 743e5dc05e
commit 36c8033b65
10 changed files with 263 additions and 57 deletions

View File

@@ -52,6 +52,18 @@ describe('whole games', () => {
}, 60_000);
}
test('모든 시간 무제한, 컴퓨터만: 설명·토론 끝내기·투표·맞히기를 해서 모두 끝나요', () => {
const options = opts({ describeSeconds: null, discussionSeconds: null, voteSeconds: null, guessSeconds: null });
for (const n of [3, 5, 8, 10]) {
const r = liveBotPlayout(liar, liarBot, { players: seats(n, 0), options, seed: seedN(900 + n), isBot });
expect(r.finished).toBe(true);
expect(r.rejected).toEqual([]);
const st = r.state as LiarState;
expect(st.descriptions.every((d) => d.text !== null)).toBe(true);
expect(r.elapsed).toBeGreaterThan(30_000);
}
}, 60_000);
test('컴퓨터는 토론 때 말하고, 라이어 컴퓨터는 자기를 지목하지 않아요', () => {
for (let s = 1; s <= 10; s++) {
const r = liveBotPlayout(liar, liarBot, { players: seats(6, 0), seed: seedN(300 + s), isBot });