Skip to content

feat: normalモード実装に向けたベース型の拡張と初期状態の追加 (#48)#49

Open
duck-ahiru-Z wants to merge 3 commits into
mainfrom
feature/normal-mode-preparation
Open

feat: normalモード実装に向けたベース型の拡張と初期状態の追加 (#48)#49
duck-ahiru-Z wants to merge 3 commits into
mainfrom
feature/normal-mode-preparation

Conversation

@duck-ahiru-Z

Copy link
Copy Markdown
Collaborator

目的

normalモード(中級 / course=2)の実装において、追加ギミック(stash / stash pop / reset --soft)を扱うための下準備。
後続のタスク(#43, #44)をコンパイルエラーなく進められるように、型定義と初期状態の拡張を行いました。

変更内容

  • frontend/src/types/interface.ts
    • CommandStepType'stash' | 'stash_pop' | 'reset_soft' を追加。
    • Ramen 型に調理の退避状態を管理するフラグ isStashed: boolean を追加。
  • frontend/src/game/gameEngine.ts
    • createRamenEntry の戻り値の初期化プロパティに isStashed: false を追加し、型エラーを解消。

関連Issue

Closes #48
(親Epic: #41

yozure420 and others added 3 commits July 11, 2026 21:41
- handleGameCommand: コマンド種別ごとの handleXxx ハンドラ群 + ディスパッチに再構成
- 共有ヘルパー(appendNextHint/notify/rejectWithMiss/rejectOutOfOrder)を新設し重複を解消
- git push origin <branch>: 現レーンと異なるブランチへの push をエラー化(誤配達を防止)
- commandLogic: 未使用コード(createPullOrderPayload/resolveRuntimeCommandLogic/ramenId 等)を削除
- useGmScreen: 不要になった ramenId 引数の受け渡しを削除

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[frontend] normalモード実装に向けたベース型の拡張と初期状態の追加(下準備)

3 participants