ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by sontixyou

sushida

A Claude Code mod that opens a Sushi-da-style Japanese typing game in a pane with /sushida.

sontixyou@sontixyou

sontixyou/sushi-uchi/tree/main/sushida

Translated

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

  1. Open the pane with /sushida.
  2. If key input does not work, click the pane to focus it before continuing.
  3. 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).
  4. Type the displayed prompt in romaji(supports multiple spellings such as し=si/shi/ci).
  5. Compete to see whether the amount you eat within the time limit earns back the course fee.
  6. Press R on 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 が必要。

使い方

  1. /sushida でペインを開く
  2. キー入力が効かない場合はペインをクリックしてフォーカスしてから操作する
  3. 1/2/3 でコースを選択(お手軽3,000円60秒 / おすすめ5,000円90秒 / 高級10,000円120秒)
  4. 表示されたお題をローマ字で入力する(し=si/shi/ci など複数表記の揺れに対応)
  5. 制限時間内に食べた金額でコース料金を元が取れたか競う
  6. 結果画面で R を押すともう一度プレイできる

Esc でペインを閉じる。ハイスコアはセッションをまたいで保存される。

開発

cd sushida
npm install
npm test        # ローマ字オートマトンのテスト
npm run typecheck

設計の詳細は docs/design.md を参照。

Similar projects