Skip to main content

Play games while Claude thinks — a collection of terminal mini-games that hook into Claude Code

Project description

claude-arcade

Play mini-games in your terminal while Claude thinks.

Hooks into Claude Code so a game launches automatically every time Claude runs a tool — and disappears the moment it's done. Your terminal is fully restored, nothing is lost.

Install

pipx install claude-arcade

pipx is recommended so the package gets its own isolated environment.
Plain pip install claude-arcade works too.

Quick start

# 1. One-time setup — writes hooks into ~/.claude/settings.json
claude-arcade setup

# 2. Use Claude Code as normal
claude

# The bird game now appears automatically whenever Claude uses a tool.
# It disappears and restores your terminal when Claude is done.

Play manually

claude-arcade play        # Bird Hunt (default)
claude-arcade play bird   # same thing

Bird Hunt controls

Key Action
Arrow keys / WASD Move crosshair
SPACE Shoot
Q Quit

Birds fly across the screen at different speeds and are worth different points:

Bird Points Speed
>-> 3 Fast
>~~> 1 Normal
>°~°> 2 Slow

Remove hooks

claude-arcade unsetup

How it works

claude-arcade setup adds three hooks to ~/.claude/settings.json:

  • PreToolUseclaude-arcade start — forks a background process that takes over the terminal alternate screen buffer and runs the game.
  • PostToolUse + Stopclaude-arcade stop — signals the game to exit and restores your terminal exactly as you left it.

Because the game runs on the alternate screen buffer, all of Claude's output is preserved underneath.

Requirements

  • macOS or Linux
  • Python 3.9+
  • Claude Code CLI

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_arcade-0.5.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_arcade-0.5.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file claude_arcade-0.5.0.tar.gz.

File metadata

  • Download URL: claude_arcade-0.5.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for claude_arcade-0.5.0.tar.gz
Algorithm Hash digest
SHA256 f16f42103d8ce17640cafc9faab4c865c5c42637a40d3eeb7fa0de28faa5d152
MD5 5071768a21cec9048ca50c9558eb0b1a
BLAKE2b-256 326cddc4cccd5788e656c5b1d670fb2fa6ac1d75ea4d43470d807caf9c68a8b6

See more details on using hashes here.

File details

Details for the file claude_arcade-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: claude_arcade-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for claude_arcade-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61fde76d88f77dd4d3b37cd0c34a56ac7bd3adb0a080e81cf0c13ecbb7ac8798
MD5 a7c61faa651f3e14d3a4f0e307146cd6
BLAKE2b-256 e17956a80db940ec7ae7d0e68de748b7b718cc179f3675b3e6bd2b4917a5b374

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page