From bde430f33e5b2f4e371cc6a889b61eeb05175ba7 Mon Sep 17 00:00:00 2001 From: EJClaw Date: Tue, 13 Oct 2026 03:14:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=88=20=EA=B2=8C=EC=9E=84=205=EA=B0=9C=20?= =?UTF-8?q?=EB=B3=91=ED=95=A9=20=EC=A0=95=EB=A6=AC:=20=EA=B2=8C=EC=9E=84?= =?UTF-8?q?=20=EA=B3=A0=EB=A5=B4=EA=B8=B0=20=ED=83=AD=C2=B7=EC=A0=90?= =?UTF-8?q?=EC=88=98=20=EC=97=86=EB=8A=94=20=EA=B2=8C=EC=9E=84=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=A4=91=EB=B3=B5=20=EC=A0=95=EB=A6=AC,=20?= =?UTF-8?q?=EB=8F=84=EC=9B=80=EB=A7=90=20=EA=B0=9C=EC=88=98=2031?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- apps/web/src/games/help.test.ts | 2 +- apps/web/src/lib/catalog-ui.ts | 10 ++-------- packages/games/src/result-score.test.ts | 3 +-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/apps/web/src/games/help.test.ts b/apps/web/src/games/help.test.ts index 6511160..b083cf8 100644 --- a/apps/web/src/games/help.test.ts +++ b/apps/web/src/games/help.test.ts @@ -9,7 +9,7 @@ import { assertCleanText, eachView, seatIds, usersOf } from './help-kit.test-uti const IDS = Object.keys(GAME_UI); test('모든 게임에 도움말이 있어요', () => { - expect(IDS).toHaveLength(27); + expect(IDS).toHaveLength(31); for (const id of IDS) { const src = readFileSync(join(import.meta.dir, id, 'index.tsx'), 'utf8'); expect(src, id).toMatch(/\bquickStart,/); diff --git a/apps/web/src/lib/catalog-ui.ts b/apps/web/src/lib/catalog-ui.ts index 4286287..51a2905 100644 --- a/apps/web/src/lib/catalog-ui.ts +++ b/apps/web/src/lib/catalog-ui.ts @@ -37,13 +37,7 @@ export const UPCOMING: string[] = []; /** Tabs on the game picker (docs/07 §3.3). Games not listed here only show under 전체. */ export const GAME_GROUPS: { key: string; label: string; ids: string[] }[] = [ - { key: 'board', label: '판·주사위', ids: ['omok', 'othello', 'chess', 'janggi', 'baduk', 'quoridor', 'yut', 'marble', 'yacht', 'las-vegas', 'clue'] }, - { key: 'board', label: '판·주사위', ids: ['omok', 'connect-four', 'othello', 'chess', 'janggi', 'baduk', 'quoridor', 'yut', 'marble', 'yacht', 'las-vegas'] }, - { key: 'cards', label: '카드·패', ids: ['seotda', 'poker', 'one-card', 'gostop', 'dalmuti', 'splendor', 'cockroach-poker', 'ninety-nine', 'mahjong', 'rummikub', 'davinci-code'] }, + { key: 'board', label: '판·주사위', ids: ['omok', 'connect-four', 'othello', 'chess', 'janggi', 'baduk', 'quoridor', 'yut', 'marble', 'yacht', 'las-vegas', 'clue'] }, + { key: 'cards', label: '카드·패', ids: ['seotda', 'poker', 'one-card', 'uno', 'gostop', 'dalmuti', 'splendor', 'cockroach-poker', 'ninety-nine', 'old-maid', 'mahjong', 'rummikub', 'davinci-code'] }, { key: 'party', label: '여럿이 파티', ids: ['bang', 'halli-galli', 'dobble', 'catchmind', 'mafia', 'apple'] }, - { key: 'board', label: '판·주사위', ids: ['omok', 'othello', 'chess', 'janggi', 'baduk', 'quoridor', 'yut', 'marble', 'yacht', 'las-vegas'] }, - { key: 'cards', label: '카드·패', ids: ['seotda', 'poker', 'one-card', 'gostop', 'dalmuti', 'splendor', 'cockroach-poker', 'ninety-nine', 'old-maid', 'mahjong', 'rummikub', 'davinci-code'] }, - { key: 'board', label: '판·주사위', ids: ['omok', 'othello', 'chess', 'janggi', 'baduk', 'quoridor', 'yut', 'marble', 'yacht', 'las-vegas'] }, - { key: 'cards', label: '카드·패', ids: ['seotda', 'poker', 'one-card', 'uno', 'gostop', 'dalmuti', 'splendor', 'cockroach-poker', 'ninety-nine', 'mahjong', 'rummikub', 'davinci-code'] }, - { key: 'party', label: '여럿이 파티', ids: ['bang', 'halli-galli', 'dobble', 'catchmind', 'mafia'] }, ]; diff --git a/packages/games/src/result-score.test.ts b/packages/games/src/result-score.test.ts index 24ad7d9..15725e7 100644 --- a/packages/games/src/result-score.test.ts +++ b/packages/games/src/result-score.test.ts @@ -4,8 +4,7 @@ import { randomPlayout, seedN } from '@bg/engine'; import { GAMES } from './index'; /** Games without a score (win/lose only, or survival) leave `scoreText` out. */ -const NO_SCORE = new Set(['omok', 'chess', 'quoridor', 'davinci-code', 'ninety-nine', 'bang', 'mafia', 'cockroach-poker', 'clue']); -const NO_SCORE = new Set(['omok', 'chess', 'quoridor', 'davinci-code', 'ninety-nine', 'bang', 'mafia', 'cockroach-poker', 'connect-four']); +const NO_SCORE = new Set(['omok', 'chess', 'quoridor', 'davinci-code', 'ninety-nine', 'bang', 'mafia', 'cockroach-poker', 'clue', 'connect-four']); /** Options under which the game keeps score (원카드: only the 색깔 카드 mode has points). */ const SCORED_OPTIONS: Record = { 'one-card': { mode: 'uno-style' } };