https://github.com/fhightower/allsfair
https://github.com/fhightower/allsfair
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fhightower/allsfair
- Owner: fhightower
- Created: 2026-02-17T11:29:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-27T10:49:49.000Z (5 months ago)
- Last Synced: 2026-05-16T16:21:37.543Z (2 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```