Metadata-Version: 2.4
Name: cannon-shooter
Version: 1.0.0
Summary: A keyboard-controlled ASCII arcade cannon shooter CLI game for your terminal.
Author: Priyansh
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Games/Entertainment :: Arcade
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: windows-curses; platform_system == "Windows"
Dynamic: license-file

# 🚀 Cannon Shooter

A fast-paced, keyboard-controlled ASCII arcade cannon shooter CLI game built for your terminal!

Defend your territory against falling ASCII blocks `[#]` by operating a ground cannon. As your score increases, the blocks fall faster and spawn more frequently.

---

## 🎮 Controls

| Key | Action |
| --- | --- |
| `A` / `Left Arrow` | Move Cannon Left |
| `D` / `Right Arrow` | Move Cannon Right |
| `Space` | Fire Bullet (`|`) |
| `Q` | Quit Game |

---

## ⚙️ Installation

You can install `cannon-shooter` directly using `pip`:

```bash
git clone https://github.com/priyansh0602/TerminalGame.git
cd TerminalGame
pip install .
```

Once installed, launch the game from any terminal:

```bash
cannon-shoot
```

> **Note for Windows Users:** The required `windows-curses` dependency will automatically be installed during `pip install .`.

---

## 🖥️ Recommended Terminals

For optimal rendering, smooth frame rates, and raw keyboard event handling, please run `cannon-shoot` in a dedicated terminal emulator:

- **Windows:** Windows Terminal, PowerShell, CMD
- **macOS:** Terminal.app, iTerm2
- **Linux:** GNOME Terminal, Alacritty, Kitty

*(Avoid running inside non-interactive IDE run-consoles or output panes as they may obscure raw keypresses.)*

---

## 🎯 Gameplay & Scoring

- **Scoring:** Destroying a falling box yields **+10 points**.
- **Lives:** You start with **3 lives**. A life is lost whenever a box reaches the bottom border of the screen.
- **Difficulty Scaling:** Every **50 points**, the difficulty increases:
  - Boxes fall faster (reduced frame interval down to minimum floor).
  - Boxes spawn more frequently.
- **Game Over:** When your lives reach 0, the game displays your final score and waits for a keypress before returning to your command prompt.
