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.6.0.tar.gz (12.6 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.6.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_arcade-0.6.0.tar.gz
  • Upload date:
  • Size: 12.6 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.6.0.tar.gz
Algorithm Hash digest
SHA256 d116628becdde6ef6ee425baf1ec34bcd816d0b02ae4dd232b61e8e8e649785c
MD5 520da776fe3fb87a4ee423fa40ea620f
BLAKE2b-256 1f8a8dc0e394ff1cfadcf5cd8c6113c2589e29e5c0ce2cc67d1b07b065ee51ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: claude_arcade-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43161f8ae6972356a3ec6803d8156040d06af243524add26f1f8f37c32654b93
MD5 19e53b315c79b62403404f52c1c22bed
BLAKE2b-256 1302ae7f56869c60f0fe227f0271f6e756d794d5b67e1504063e7f9c03543804

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