terminal-pong-ts
v1.0.2
Published
A terminal-based Breakout game built with TypeScript and terminal-kit.
Readme
Terminal Breakout Game
A terminal-based Breakout game built with TypeScript and terminal-kit.
Installation
npm installPlay the Game
npm startControls
A/←- Move paddle leftD/→- Move paddle rightP- Play again (after game over)QorCtrl+C- Quit
How It Works
The game uses terminal-kit's alternate screen feature, so:
- Your terminal content is preserved
- Game runs in a separate screen
- When you quit, you return to exactly where you were
Use with Claude Code (or any terminal app)
- Run Claude Code (or any app) in your terminal
- When you want to play, run:
npm start - Game opens in alternate screen
- Exit game with Ctrl+C
- You're back in Claude/your app exactly where you left off!
The alternate screen means your work is never interrupted or lost.
