Reference implementation Β· v0.1.0 Β· MIT

πŸ† Matchmaker

The tiny correct matchmaking rating kit. Elo for head-to-head, Glicko-2 for rating periods β€” drop it in, stop reimplementing it badly.

1 Β· Elo playground

PLAYER A
1,500
PLAYER B
1,500

2 Β· Matchmaking

3 Β· Rating explainer

4 Β· Tap a rating

The leaderboard: 1847, 1520, 1311, 1104. Tap any rating for its card.

Elo: expected score = 1 / (1 + 10(Rbβˆ’Ra)/400); updates are zero-sum. Glicko-2 (Mark Glickman) adds a ratings deviation (RD) β€” how sure the system is β€” plus volatility, updated once per rating period. Full algorithm in the library; see README for the citation. 100% local β€” no network, no server.