Skip to content

feat(game): add threefold fifty claims and auto draws (CV-166) - #14

Merged
Leo-Galli merged 1 commit into
mainfrom
feat/cv-166-draw-claims
Nov 24, 2026
Merged

Leo-Galli merged 1 commit into
mainfrom
feat/cv-166-draw-claims

Conversation

@Leo-Galli

Copy link
Copy Markdown
Contributor

Summary

  • Add claim_draw for side-to-move threefold and fifty-move claims (CLAIM_DENIED otherwise)
  • Auto-end on apply_move for fivefold and seventy-five with AppliedMove.auto_draw
  • PROTOCOL ClaimDraw / CLAIM_DENIED / GameEnd reasons; README Draw claims Built

Test plan

  • cargo fmt --check
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo test --locked (always-on; Redis gated paths run in CI)
  • node scripts/verify-readme.mjs
  • Secret scan clean; security review: no findings

Server-side claim_draw for side-to-move threefold/fifty, and fivefold/seventy_five auto ends on apply_move with PROTOCOL CLAIM_DENIED and GameEnd reasons.
@Leo-Galli
Leo-Galli merged commit 00f26fd into main Nov 24, 2026
1 check passed
@Leo-Galli
Leo-Galli deleted the feat/cv-166-draw-claims branch November 24, 2026 11:10
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.

1 participant