그림 맞히기·클루: 그리기·차례 시간 무제한(출제자 정답 공개로 넘기기), 소리·움직임, 할리갈리·사과 게임 문서에 무제한

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-13 13:01:42 +09:00
parent bafbf95d98
commit b8966db2a6
15 changed files with 413 additions and 84 deletions

View File

@@ -57,3 +57,13 @@ test('그림 맞히기: 공개 / 끝', () => {
s.final = { ranking: [], turns: [], summary: '호랑이님 우승!' };
expect(helpNow(view(s, null), null, users)).toContain('호랑이님 우승!');
});
test('그림 맞히기: 그리기 무제한이면 출제자에게 정답 공개 안내', async () => {
const { setupGame, usersOf } = await import('../help-kit.test-util');
const { GAMES } = await import('@bg/games');
const users = usersOf(['A', 'B', 'C']);
const { state } = setupGame('catchmind', 3, { drawSeconds: null, wordChoice: false });
const d: string = state.turn.drawer;
const t = helpNow(GAMES.catchmind!.view(state, d) as never, d, users);
expect(t).toContain('[정답 공개하고 넘기기]');
});