Skip to content

Leaderboard - #10

Draft
defnax wants to merge 2 commits into
mainfrom
leaderboard
Draft

Leaderboard#10
defnax wants to merge 2 commits into
mainfrom
leaderboard

Conversation

@defnax

@defnax defnax commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Added:

  • Standard Glicko‑2 ratings starting at 1500
  • Ratings keyed by RsGxsId
  • Unique game IDs, including rematches
  • Signed result confirmation from both players
  • Duplicate/conflicting result protection
  • Persistent local leaderboard data
  • Wins, draws, losses, games, rating, RD and last activity
  • Provisional status for fewer than 10 games or RD above 110
  • New Leaderboard tab in RetroChess
image

@defnax
defnax marked this pull request as draft August 30, 2026 22:41
defnax added 2 commits August 31, 2026 17:38
Added:
- Standard Glicko‑2 ratings starting at 1500
- Ratings keyed by RsGxsId
- Unique game IDs, including rematches
- Signed result confirmation from both players
- Duplicate/conflicting result protection
- Persistent local leaderboard data
- Wins, draws, losses, games, rating, RD and last activity
- Provisional status for fewer than 10 games or RD above 110
- New Leaderboard tab in RetroChess
RetroChess now:
- Discovers or creates a public GXS group named RetroChess Leaderboard.
- Uses marker retrochess:leaderboard:v1.
- Automatically subscribes every client.
- Publishes signed game confirmations as GXS posts.
- Downloads historical results for new clients.
- Requires matching confirmations from both players.
- Recalculates the Glicko‑2 leaderboard locally.
- Shows the selected GXS group ID on the Leaderboard tab.
- Keeps protocol records out of the chat lobby.
- Converges duplicate bootstrap groups on the smallest valid group ID.
@defnax defnax changed the title Add Leaderboard Leaderboard Aug 31, 2026
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