Skip to content

Adding Feature/typed tags for missing game - #118

Merged
Cryphixi merged 7 commits into
masterfrom
feature/typed-tags
Nov 30, 2026
Merged

Cryphixi merged 7 commits into
masterfrom
feature/typed-tags

Conversation

@Cryphixi

Copy link
Copy Markdown
Contributor

Registered Dorvon Cag and corrected the solve tags against live backends

Cryphixi and others added 7 commits September 22, 2026 20:38
Moves game tags from GamesmanUni's gameTags.ts into UWAPI, following
Alvaro Estrella's "Game Tagging System and Tag-Based Search" spec with
two changes: style/misc tags are typed enums instead of free text, and
solve/variant tags are derived instead of hand-entered.

- games/tags.py: GameStyle / SolveTag / MiscTag enums, tag derivation,
  vocabulary, and registry validation.
- games/models.py: style/misc tags and supports_mex /
  supports_draw_analysis capability flags on Game; solved flag on
  variants (False for the chess and Chinese chess tablebase variants).
- games/__init__.py: style/misc tags migrated for 81 games; 10 entries
  carry TODO(tags) for review. Validation runs at import.
- server.py: additive `tags` on / and /<game_id>/, plus /tags/ for the
  vocabulary, so the current frontend is unaffected.
- scripts/check_tags.py, tests/, .github/workflows/tags.yml: the same
  check at registration, on every PR, and in 10 tests.
- docs/tags.md: schema, migration notes and open questions.

Deriving solve tags corrects nine games whose tags promised data the
backends do not send (e.g. Mancala tagged Win By, Notakto missing Mex).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Ownership split, what's already decided, the open decisions, and the
work queue for whoever continues the tagging work.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
…/GamesCraftersUWAPI into feature/typed-tags

# Conflicts:
#	docs/tags-handoff.md
#	games/__init__.py
@Cryphixi
Cryphixi merged commit 3c17a0c into master Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants