Skip to content

feat(ws): wire QuickPair Move offers Resume and GameEnd (CV-172) - #19

Merged
Leo-Galli merged 1 commit into
mainfrom
feat/cv-172-ws-play-wire
Nov 24, 2026
Merged

Leo-Galli merged 1 commit into
mainfrom
feat/cv-172-ws-play-wire

Conversation

@Leo-Galli

Copy link
Copy Markdown
Contributor

Summary

  • Wire PROTOCOL play on /ws: AuthTicket/cookie, QuickPair, Move, offers, resign/abort/claim/flag, ResumeGame
  • In-process PlayHub fan-out; terminal GameEnd runs persist + Glicko-2
  • Tests: ws_play GameSnapshot shape + gated two-client pair/move/resign

Test plan

  • cargo fmt --check / cargo clippy -D warnings / cargo test --locked (local; Redis/Postgres gated paths skip without env)
  • node scripts/verify-readme.mjs
  • CI verify green on this PR

EOF

Authenticate sockets via cookie or AuthTicket, fan out play events through
an in-process hub, and finish with persist plus Glicko-2 on terminals.
@Leo-Galli
Leo-Galli merged commit 09c4c7a into main Nov 24, 2026
1 check passed
@Leo-Galli
Leo-Galli deleted the feat/cv-172-ws-play-wire branch November 24, 2026 16:30
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