CC Arcade

Play games while waiting on Claude Code

·

source at 0baff06

·

MIT license

Games above the Claude Code prompt (snake, Tetris, 2048, Minesweeper, Flappy, Pong, typing test, Space Invaders, Doom) plus a pet that grows as Claude tests, commits and edits. Clones of the genre, not affiliated with or endorsed by Tetris Holding, Taito, Atari or id Software. Needs function hooks (early access) and an interactive terminal.

What this mod can do

  • Reviewed at commit 0baff06
  • Sees each tool call before it runs and can block or change it
2 more things it can do
  • Remembers data between sessions
  • Adds the /arcade command
Good to know (3)
  • Needs a terminal that reports the mouse, since a click is what gives a board the keyboard
  • Boards get about half the terminal height, so a taller window means bigger boards
  • Best scores and the pet stay in the plugin's store on this machine and aren't shared between machines
Are mods safe?

Preview

Terminal

⎿ cc-arcade: arcade: click a game above the prompt · /arcade list describes them arcade · click a game · /arcade <game> works too · /arcade stop closes [-] [ snake ] [ tetris ] [ doom ] [ 2048 ] [ minesweeper ] [ flappy ] [ pong ] [ typing ] [ invaders ] [ pet ] [ random ] [ auto ] [ close ]

Claude Desktop

Draws nothing in Claude Desktop.

What it does

Nine games and a pet drawn above the prompt, to play while Claude works. The open game pauses when Claude finishes a turn, so you don't miss the reply.

What you see
A game picker and board above the prompt, in the terminal
Works in
Terminal
Slash commands
/arcade
Uses your tokens
No
Changes files
Nothing
Network access
None
Reviewed commit
0baff06
Preview recorded with
Claude Code 2.1.296

How it works

  1. Run /arcade and pick a game from the row of buttons above the prompt
  2. Click the board to give it the keyboard; Esc hands it back to the prompt
  3. When Claude finishes a turn, the game pauses and shows ● Claude is done
  4. The pet watches Claude's tool calls and grows on passing tests, commits and edits

Common questions

What games can I play inside Claude Code?

This mod has snake, Tetris, 2048, Minesweeper, Flappy, Pong against the computer, a typing test, Space Invaders and a small Doom-style corridor shooter, plus a pet. Run /arcade to pick one, or name it directly with /arcade tetris.

Will a game make me miss Claude's reply?

When the turn finishes, the open game pauses and its status line turns yellow, starting with ● Claude is done. Press a key in the game to carry on, or Esc to go read the reply.

Does playing use tokens?

No. The plugin answers every click and command itself, without asking the model.

Why do my keys go to the prompt instead of the game?

Click the board first. The click gives the game the keyboard, and Esc always hands it back to the prompt. If clicks do nothing, your terminal does not report the mouse.