alonw0

Cc Terminal Games — Development skill for Claude Code

Development community

Play games in your terminal when you wait for claude to finish thinking.

How to install Cc Terminal Games

This entry records only its repository, not the path inside it, so there is no exact command to give. Open alonw0/cc-terminal-games and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc Terminal Games does

Play games in your terminal when you wait for claude to finish thinking.

Alternatives in Development

  • JEngine — The solution that allows unity games to update in runtime 2.2k ★
  • Tentacle Planner — You are the Tentacle Planner — a meta-agent that analyzes this codebase and creates department tentacles to or 1.4k ★
  • Re Skill — Claude Code skill for reverse engineering retro games — disassemble, annotate, extract assets, web port 131 ★

README

Claude Code Mini Games

Play terminal games while Claude Code is thinking. When Claude finishes, the game disappears and Claude's output is perfectly preserved.

How it works

Real Terminal (stdin/stdout)
       |
  PTY Proxy (proxy.py) -- passthrough or game mode
       |
  Shell -> claude
       ^
  SIGUSR1 / SIGUSR2 (from hooks)
  • A PTY proxy sits between your terminal and shell, normally transparent
  • Claude Code hooks send signals when thinking starts/stops
  • On SIGUSR1: switch to alternate screen, launch game
  • On SIGUSR2: leave alternate screen, SIGWINCH triggers Claude to redraw
  • The terminal's alt screen buffer preserves Claude's main screen perfectly

Games

Game Controls Description
Flappy Bird Space/W to flap Dodge pipes through a colorful sky with clouds and textured ground
Snake WASD/Arrows Eat food, grow longer — gradient-colored body with directional head and corner pieces
Pong W/S or Up/Down Single-player vs AI, angle-based physics, first to 5 wins
Volfied WASD/Arrows Claim territory by drawing lines — avoid enemies, fill 75% to advance

All games: **Ctrl-C** to interrupt Claude and exit game, **R** to restart after game over.

Game state persists between thinking sessions — your score carries over until game over.

Volfied details

Inspired by the classic Volfied/Qix arcade game. Move along borders freely, venture into unclaimed territory to draw lines and capture area. Features:

  • 3 enemy types: bouncers (diagonal movement), chasers (target your trail), patrollers (walk the border)
  • Level progression: difficulty scales with more/faster enemies each level
  • Trail timeout: complete your cut before the timer runs out (gets shorter each level)
  • Quadratic scoring: bigger fills earn exponentially more points
  • Lives system: 3 lives to start, earn extras on level completion (max 5)
  • Invulnerability frames: brief prot