An open API service indexing awesome lists of open source software.

https://github.com/fhightower/allsfair


https://github.com/fhightower/allsfair

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Allsfair

A game of simultaneous, predetermined moves.

## Setup (uv)

From the repository root:

```bash
uv sync --dev
```

## Local CLI demo

Run:

```bash
uv run play_cli.py
```

Options:

- `--show-input` show move text while typing (default hides typed moves).

Move format is `{from}{troops}{to}` such as `a3b`.
Each round: both players enter 3 moves first, then the 3 move pairs resolve one-by-one.

## Tests

Run tests with coverage (configured via `pyproject.toml`):

```bash
uv run pytest
```