sontixyou/sushi-uchi/tree/main/sushida
sushida
A Claude Code mod that opens a Sushi-da-style Japanese typing game in a pane with /sushida.
About this mod
A Claude Code mod that opens a Sushi-da-style Japanese typing game with /sushida in a pane (sushida).
Install
/plugin marketplace add <user>/sushi-uchi
/plugin install sushida@sushi-uchi
To load it directly from source (during development):
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir sushida
Because function hooks are an early-access feature, the environment variable CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 is required to start it.
Use
- Open the pane with
/sushida. - If key input does not work, click the pane to focus it before continuing.
- Choose a course with
1/2/3(easy 3,000 yen 60 seconds / recommended 5,000 yen 90 seconds / premium 10,000 yen 120 seconds). - Type the displayed prompt in romaji(supports multiple spellings such as
し=si/shi/ci). - Compete to see whether the amount you eat within the time limit earns back the course fee.
- Press
Ron the results screen to play again.
Close the pane with Esc. High scores are saved across sessions.
Develop
cd sushida
npm install
npm test # tests for the romaji automaton
npm run typecheck
See docs/design.md for design details.
Installation
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
claude plugin marketplace add sontixyou/sushi-uchi claude plugin install sushida
Original text / README
sushi-uchi
寿司打風の日本語タイピングゲームを /sushida で開く Claude Code mod(sushida)。
インストール
/plugin marketplace add <user>/sushi-uchi
/plugin install sushida@sushi-uchi
ソースから直接読ませる場合(開発時):
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude --plugin-dir sushida
function hooks は早期アクセス機能のため、起動には環境変数 CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 が必要。
使い方
/sushidaでペインを開く- キー入力が効かない場合はペインをクリックしてフォーカスしてから操作する
1/2/3でコースを選択(お手軽3,000円60秒 / おすすめ5,000円90秒 / 高級10,000円120秒)- 表示されたお題をローマ字で入力する(
し=si/shi/ci など複数表記の揺れに対応) - 制限時間内に食べた金額でコース料金を元が取れたか競う
- 結果画面で
Rを押すともう一度プレイできる
Esc でペインを閉じる。ハイスコアはセッションをまたいで保存される。
開発
cd sushida
npm install
npm test # ローマ字オートマトンのテスト
npm run typecheck
設計の詳細は docs/design.md を参照。


