All shelves / Mods / Play
claude-games
By mohi-devhub
claude-games is a Claude Code play mod by mohi-devhub.
Draws Racer, Breakout, Dino, and Shooter above the prompt to play while Claude works. Claude's edits, passing and failing tests, and commits change the game.
Draws
Install
The marketplace name is claude-games.
claude plugin marketplace add mohi-devhub/claude-games claude plugin install claude-games@claude-games
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-09-14
What it can reach
- Draws in the session
- Sees tool calls
Claude Code 2.1.269 or later, with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS set to 1 in the env of ~/.claude/settings.json; without it the plugin installs but does nothing, and the setting also loads other plugins' hooks modules. An interactive terminal that reports the mouse, and a font with box-drawing and block characters. Nothing draws in claude -p, the desktop app, or mobile. Click the board to give it the keyboard; Esc gives it back to the prompt.
The marketplace name is claude-games, and it holds only this plugin. Games to play in the session are why this page files it under play. cc-arcade, by sezaakgun, draws nine games and a pet above the prompt; this repo is built on it. arcade-mutlumehmet, by mutlumehmet, draws pixel games that move with each tool call. This one has four games, one open at a time, each reacting to Claude's own tool calls: an edit scores, a passing test clears the way, a failing test adds a hazard, and a commit gives a shield, a life, or a bomb. The open game pauses when the turn finishes, and best scores stay on this machine.
Demo
What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/racer/breakout/dino/shooterturn.completeWhen a turn endstool.callAround a tool call, where it can hold oneui.messageAdds a message to the sessionui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- mohi-devhub
- Category
- Play
- Marketplace
- claude-games
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 4
- Last change
- 2026-09-14
- Language
- TypeScript
- Files
- 29
