ClaudeMod
ModsGamesWrites / Shell

Claude Code Arcade Games

- Play Flappy Bird with Clawd, the Claude Code mascot, flapping between pipes. Collect ✻ tokens. - The Chrome "no internet" T-Rex runner: jump the cacti, duck the pterodactyls.

Install
$claude plugin marketplace add witkowsky/claude-code-arcade
$claude plugin install arcade@claude-code-arcade
Run claude plugin validate to auditGuide →
Access & PermissionsWrites / Shell

Writes files, executes local shell processes, or programmatically drives Claude.

Draws UIPersists local stateReads filesReads env varsRuns shell commands

Statically scanned from hooks & source. Learn how to audit

Marek Witkowski3 starsAdded 1 months ago

Claude Code Arcade

Little games that live in a Claude Code pane, for the minutes while the agent works. They run in the terminal and in the desktop app's Code tab. One plugin, five games, all in Claude's colours.

Flappy Claude: Clawd flaps between pipes Dino: Clawd hops pipes

Clawd Snake: Clawd eats ✻ tokens and grows Bug Invaders: Clawd fires ✻ at marching bugs Clawd Pong: Clawd's paddle against Haiku

GameCommandWhat it is
Flappy Claude/arcade flappyFlappy Bird with Clawd, the Claude Code mascot, flapping between pipes. Collect ✻ tokens.
Dino/arcade dinoThe Chrome "no internet" runner. Clawd hops pipes and ducks bugs in Claude's colours, or pick the original T-Rex with its cacti and pterodactyls.
Clawd Snake/arcade snakeSnake with Clawd stretched out on a Claude-cream board, eating ✻ tokens. Every fifth token brings an Opus token worth 5, for a few seconds.
Bug Invaders/arcade invadersSpace Invaders in Claude Code's dark theme. Clawd fires ✻ at a marching formation of bugs from behind olive test suites; an Opus ship crosses the top for a bonus.
Clawd Pong/arcade pongPong up the model ladder: beat Haiku, then Sonnet, then Opus (who only gets faster). First to 5 takes a match; a lost match ends the run.

/arcade on its own opens a menu of the games with your best scores.

Install

At a Claude Code prompt:

/plugin marketplace add witkowsky/claude-code-arcade
/plugin install arcade@claude-code-arcade

Then start a new session, or run /reload-plugins. From a shell, the same two steps are claude plugin marketplace add witkowsky/claude-code-arcade and claude plugin install arcade@claude-code-arcade.

Coming from the separate flappy-claude or dino plugins? Uninstall them (/plugin uninstall flappy-claude, /plugin uninstall dino); arcade has both. Best scores start over.

The games are mods: plugins built from function hooks. They need a Claude Code build that loads mods, both in the terminal and in the desktop Code tab.

Play

  • /arcade opens the menu (press a game's number, or click it); /arcade <game> opens a game straight away.
  • Click the game once so it gets the keyboard, then:
    • Flappy Claude: Space / ↑ / click to flap.
    • Dino: Space / ↑ / click to jump, ↓ to duck.
    • Clawd Snake: arrows (or WASD / hjkl) to steer, or click to turn towards the pointer; Space pauses.
    • Bug Invaders: ←/→ (or A/D, H/L) to move, Space / ↑ to fire; or steer with the pointer and click to fire.
    • Clawd Pong: ↑/↓ (or W/S, K/J) to move, or steer with the pointer.
  • After a crash, Space starts a new run. Your best score in each game is kept between sessions.
  • Esc returns to the prompt, games goes back to the menu, and close closes the pane.

Runner

/arcade dino runs Clawd by default. To get Chrome's grey T-Rex back, set dinoTheme to chrome (/plugin configure arcade@claude-code-arcade).

dinoTheme: claude (default)dinoTheme: chrome
Clawd running in Claude's coloursChrome's grey T-Rex

The chrome theme: the T-Rex jumps the cacti

How it works

  • Each game is a Client surface module, so it runs on the drawing surface itself, with its own 30 fps clock and keyboard and mouse input. Nothing makes a round trip per frame.
  • Each game's rules live in a pure engine (games/*-engine.ts, or inside the game for Dino), tested without any surface.
  • Frames are drawn in pixels:
    • Terminal: each cell shows two pixels as a ▀ half block.
    • Desktop: text sits in taller line boxes there, so each cell is one background-coloured pixel. The frame is drawn in square pixels and folded into those taller cells, keeping thin details like Clawd's eyes.
  • The hooks module registers /arcade, opens the menu and each game's pane, and keeps the best scores in the plugin store.

The plugin has tests:

claude plugin test .

Credits

  • Unofficial fan project, not affiliated with or endorsed by Anthropic. Clawd is the Claude Code mascot.
  • Both runners follow the rules of Chrome's T-Rex runner: its speeds, gravity, gaps and pterodactyl timing come from Chromium's BSD-licensed source. The sprites were redrawn for this tiny pixel grid.

MIT licensed, see LICENSE.

Details

GitHub Stars
3
Sub-category
Games
License
MIT
Added
1 months ago
Last synced
3 days ago

Weekly Mods Digest

Top new Claude Code mods and install commands, once a week. No fluff, unsubscribe anytime.

More Mods

Claude Flightdeck
ModsSecurity

Claude Flightdeck

Live agent dashboard pane with context consumption, advisor timeline, permission verdicts, and subagent swimlanes.

Reads Files
by Sam Casella
GitHub
Terminal Browser
ModsInterface

Terminal Browser

Browse documentation, GitHub pull requests, and web pages in a split terminal pane directly beside your Claude Code conversation.

Network
by Zenbu Labs
GitHub
Agent Flow
ModsAutomation

Agent Flow

Interactive visual tree of the active session's subagents, background tasks, and teammates beside the transcript via /flow.

UI Only
by Charlie
GitHub

Command Palette

Search for a command to run...