Metadata-Version: 2.5
Name: greenroom
Version: 0.0.1
Summary: A greenroom-themed Snake game for your terminal
Project-URL: Homepage, https://github.com/benhorsburgh/greenroom
Project-URL: Repository, https://github.com/benhorsburgh/greenroom
Project-URL: Issues, https://github.com/benhorsburgh/greenroom/issues
Author: Ben Horsburgh
Keywords: cli,curses,game,snake,terminal
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console :: Curses
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Games/Entertainment :: Arcade
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# Greenroom

A **greenroom-themed Snake game** for the terminal: collect cues backstage, dodge the velvet curtains, and speed up as the show gets closer to curtain call.

## Requirements

- Python 3.10+
- A terminal with curses support (macOS, Linux, and most Unix-like systems)

## Install

From PyPI (once published):

```bash
pip install greenroom
```

From source:

```bash
git clone https://github.com/benhorsburgh/greenroom.git
cd greenroom
pip install .
```

For local development:

```bash
pip install -e .
```

## Play

```bash
greenroom
```

Or as a module:

```bash
python -m greenroom
```

### Controls

| Input | Action |
| --- | --- |
| Arrow keys / WASD | Move |
| P | Pause |
| Q | Quit |
| R or Space | Encore (after game over) |

## Publish (maintainers)

1. Copy a credentials template and add your PyPI API token (never commit the filled-in files):

   ```bash
   cp .env.example .env          # loaded by make publish
   # or
   cp .pypirc.example ~/.pypirc && chmod 600 ~/.pypirc
   ```

   Tokens: [pypi.org/manage/account/token](https://pypi.org/manage/account/token/) (username is always `__token__`).

2. Build and upload:

   ```bash
   make publish
   ```

   For TestPyPI, set `TWINE_REPOSITORY=testpypi` in `.env` and use a TestPyPI token.
