npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

claude-arcade

v1.0.6

Published

Add classic arcade games to your Claude Code workflow with Ctrl+G

Readme

🎮 Claude Arcade

Add classic arcade games to your Claude Code workflow! Press Ctrl+G anytime to toggle between coding and gaming.

⚡ Quick Start

Installation

npm install -g claude-arcade

That's it! Now you can use claude-arc to launch Claude Code with built-in games.

Configuration (Optional)

To enable the leaderboard feature, you need to set up your own Supabase project:

  1. Create a free account at supabase.com
  2. Create a new project and set up a leaderboard table
  3. Copy .env.example to .env in the project root
  4. Add your Supabase credentials to .env:
SUPABASE_URL=your-project-url
SUPABASE_ANON_KEY=your-anon-key

Note: The leaderboard feature is optional. Games will work without Supabase credentials, but you won't be able to submit scores.

🎯 Usage

# Start Claude with Brick Breaker (default)
claude-arc

# Start Claude with Snake
claude-arc -snake

# Start Claude with Dino
claude-arc -dino

# See all options
claude-arc --help

# Pass arguments to Claude
claude-arc --model gpt
claude-arc -snake --model gpt
claude-arc -dino --model gpt

🕹️ Controls

  • Ctrl+G - Toggle game overlay on/off
  • Q or Ctrl+C - Exit game back to Claude
  • P - Play again (after game over)

Game-Specific Controls

Brick Breaker:

  • A / - Move paddle left
  • D / - Move paddle right

Snake:

  • W / - Move up
  • A / - Move left
  • S / - Move down
  • D / - Move right

Dino:

  • / Space - Jump
  • / S - Duck

🎲 Games

Brick Breaker

Classic breakout game with 4 strength levels:

  • 🔴 Red (4 hits) → 🟣 Magenta (3 hits) → 🟡 Yellow (2 hits) → 🔵 Cyan (1 hit)
  • Each brick awards points based on strength
  • Submit your high score to the global leaderboard!

Snake

Classic snake game:

  • Eat food to grow longer
  • Avoid walls and yourself
  • Compete for the highest score!

Dino

Chrome's classic dinosaur runner game:

  • 🦖 Jump over cacti and duck under birds
  • Scrolling landscape with increasing difficulty
  • Score increases as you survive longer
  • Speed increases every 100 points!

🏆 Leaderboard

After each game, you can submit your score to the global leaderboard! Just enter your name when prompted.

🛠️ Development

# Clone the repository
git clone <your-repo-url>
cd claude-arcade

# Install dependencies
npm install

# Set up environment variables (for leaderboard)
cp .env.example .env
# Edit .env with your Supabase credentials

# Build
npm run build

# Test locally (runs games standalone, without Claude wrapper)
npm run dev:claude   # Brick Breaker
npm run dev:snake    # Snake
npm run dev:dino     # Dino

Environment Variables

The project uses the following environment variables (stored in .env):

  • SUPABASE_URL - Your Supabase project URL
  • SUPABASE_ANON_KEY - Your Supabase anon/public key (safe for client-side use)

Important: Never commit your .env file to version control. It's already included in .gitignore.

📦 Uninstall

npm uninstall -g claude-arcade

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit PRs.

📄 License

MIT