You can play Tetris above the Claude Code prompt with cc-arcade. This walkthrough follows the author’s README; check it for current requirements.
Prepare the session
Use Claude Code 2.1.269+ in an interactive, mouse-capable terminal. Enable CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 using the settings-file instructions in our install guide, then restart Claude Code.
Install and open
claude plugin marketplace add sezaakgun/cc-arcade
claude plugin install cc-arcade@cc-arcade
Start Claude Code and enter /arcade tetris. Click the board to give it keyboard focus.
Play and return to work
Left and right move a piece; up rotates it. Space drops it, p pauses and r restarts. Esc returns keyboard control to the prompt. The game pauses when Claude finishes its turn.
If input still goes to the prompt, click the board again. If the command is unavailable, check the plugin is enabled and the function-hooks flag is set.
Find another mod
Browse the games category, compare repository requirements and vote for the ones you enjoy. Category artwork on this site is illustrative; the repository shows the actual game.