Metadata-Version: 2.4
Name: douda
Version: 0.1.0
Summary: A terminal snake game with a shared, self-hostable leaderboard
Author: Douda contributors
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: psycopg[binary,pool]<4,>=3.2
Requires-Dist: python-dotenv<2,>=1.0

# Douda

Terminal Snake with a shared leaderboard.

## Install

Once Douda is published on PyPI:

```bash
pip install douda
```

Then play:

```bash
douda
```

Use **WASD** or the arrow keys to move. Press **Q** to quit.

> **PyPI release coming soon.** The package name is not published yet.

## Leaderboard

The game submits scores to the Douda leaderboard API. To run your own API:

```bash
pip install douda
douda-server
```

Set `DOUDA_LEADERBOARD_URL` to your server URL if it is not running locally.
Configure `DATABASE_URL` on the server to use PostgreSQL; otherwise it uses
local SQLite.

## Publishing (maintainers)

Set up a PyPI Trusted Publisher for `Naaylla/Douda-Cli`, workflow
`.github/workflows/publish.yml`, environment `pypi`. Publish a GitHub Release
to upload the package. No PyPI token is needed.
