M9: 초보자 도움 틀 — 30초 규칙 요약 카드, 게임 중 [?] 지금 할 수 있는 것, 오목 내용

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-06 03:04:24 +09:00
parent c27cb0a11a
commit 57753a037c
10 changed files with 390 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import { TopBar } from '../components/ui';
import { loadGameUI } from '../games/registry';
import type { GameUI } from '../games/types';
import { GameNotice, gameName } from '../components/GameNotice';
import { QuickStartButton } from '../components/GameHelp';
export default function RulesPage() {
const { gameId = '' } = useParams();
@@ -18,6 +19,7 @@ export default function RulesPage() {
<TopBar title={`${g?.nameKo ?? ''} 규칙`} onBack={() => nav(-1)} />
<main className="page">
<GameNotice gameId={gameId} />
{ui && <QuickStartButton title={g.nameKo} cards={ui.quickStart} />}
{ui === undefined ? <p className="muted">불러오는 중…</p> : ui ? <ui.Rules /> : <p>아직 준비 중인 게임이에요.</p>}
</main>
</>