badminton-rally
v1.0.0
Published
A 2D terminal-based badminton rally game built with React and Ink.
Maintainers
Readme
🏸 Badminton Rally CLI
A real-time, terminal-based badminton game built with React, Ink, and TypeScript.
Watch the shuttlecock arc across your terminal, hit power-ups to grow your racket, avoid fatigue hazards, and try to build your highest hit streak!
🚀 Play Instantly
You don't need to install anything. Just open your terminal and run:
npx badminton-rally(Requires Node.js v16 or higher)
🎮 Controls
- Left Arrow - Move player left
- Right Arrow - Move player right
- r - Restart game (when game over)
- q / Esc - Quit game
⚡ Features
- 100ms Game Loop: Custom React hooks handling real-time physics and collision detection entirely outside the browser.
- Dynamic Entities:
O- Standard shuttlecockV- Smash! (Falls 2x as fast, worth 2 points)
- Power-ups & Hazards:
+(Energy Drink): Expands your racket size for 5 seconds.X(Fatigue): Shrinks your racket to a single point for 5 seconds.
🛠️ Built With
Built by Priyansh
