요트 다이스·라스베가스·부루마불 차례 시간 '무제한' 표기 통일: 요트 '제한 없음'→'무제한', 요약은 '시간 무제한', 부루마불 무제한 마감 없음 테스트
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -926,6 +926,17 @@ describe('시간 초과·연결 끊김 (§8.5)', () => {
|
|||||||
expect(s.timeouts.B).toBe(0);
|
expect(s.timeouts.B).toBe(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('제한 시간 무제한: 결정마다 마감이 없음(교환 응답은 20초 그대로)', () => {
|
||||||
|
let s = make({ turnSeconds: null });
|
||||||
|
expect(s.deadlineAt).toBeNull();
|
||||||
|
s = roll(s, 1, 2); // A → 3, buy decision
|
||||||
|
expect(s.phase).toBe('decide');
|
||||||
|
expect(s.deadlineAt).toBeNull();
|
||||||
|
s = act(s, 'A', { type: 'PASS' });
|
||||||
|
expect(curId(s)).toBe('B');
|
||||||
|
expect(s.deadlineAt).toBeNull();
|
||||||
|
});
|
||||||
|
|
||||||
test('onLeave = CONCEDE: 땅은 은행으로, 차례 넘김; 빚 갚는 중이면 그 빚은 먼저 갚음', () => {
|
test('onLeave = CONCEDE: 땅은 은행으로, 차례 넘김; 빚 갚는 중이면 그 빚은 먼저 갚음', () => {
|
||||||
let s = make({}, 3);
|
let s = make({}, 3);
|
||||||
own(s, 1, 'A');
|
own(s, 1, 'A');
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export const yachtOptionsSchema = z.object({
|
|||||||
.meta({ title: '13칸 변형: 요트가 또 나왔을 때', labels: { forced: '정해진 순서대로 넣기(공식)', free: '아무 칸이나 고르기' } }),
|
.meta({ title: '13칸 변형: 요트가 또 나왔을 때', labels: { forced: '정해진 순서대로 넣기(공식)', free: '아무 칸이나 고르기' } }),
|
||||||
turnSeconds: lit(30, 60, 90, 0)
|
turnSeconds: lit(30, 60, 90, 0)
|
||||||
.default(60)
|
.default(60)
|
||||||
.meta({ title: '한 차례 제한 시간', labels: { 30: '30초', 60: '60초', 90: '90초', 0: '제한 없음' } }),
|
.meta({ title: '한 차례 제한 시간', labels: { 30: '30초', 60: '60초', 90: '90초', 0: '무제한' } }),
|
||||||
showPreview: z.boolean().default(true).meta({ title: '빈 칸에 지금 넣을 때 점수 미리 보여 주기' }),
|
showPreview: z.boolean().default(true).meta({ title: '빈 칸에 지금 넣을 때 점수 미리 보여 주기' }),
|
||||||
});
|
});
|
||||||
export type YachtOptions = z.infer<typeof yachtOptionsSchema>;
|
export type YachtOptions = z.infer<typeof yachtOptionsSchema>;
|
||||||
|
|||||||
Reference in New Issue
Block a user