How to play Tetris in Claude Code with cc-arcade

A quick setup for a game inside your terminal, using the community cc-arcade mod.

2026-09-16 · Claude Mods editorial team

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.

Frequently asked questions

Does playing use model tokens?

cc-arcade handles game input locally. Your normal Claude session still has its usual costs.

More reading