Leaderboard System
The leaderboard works exactly how you think it does.

We have both a global and a weekly leaderboard. Global is our all time stats whereas Weekly is for our weekly stats. If you're an exceptional player, you have the chance to get to the top of the Global leaderboard. If you're a semi-average player, you might get to the top of the Weekly.
Our rankings are based on a robust ELO system that we're actively working towards putting on-chain. Here is the breakdown of how it works:
Define Constants and Scores:
K = 32: This is a constant that determines how much a player's rating can change from a single game. The value of 32 is commonly used for chess but can vary depending on the competition.
R_A and R_B: These are the current Elo ratings of players A and B before the game starts. Higher ratings indicate stronger players.
S_A and S_B: These are the game outcomes for players A and B. If a player wins, their score is 1. If they lose, their score is 0.
Calculate the Rating Difference (RD):
RD = R_A - R_B: This is the difference in ratings between player A and player B. It helps predict who is expected to win. If RD is positive, player A is expected to be stronger; if negative, player B is expected to be stronger.
Calculate Expected Scores (E_A and E_B):
The expected scores predict how likely each player is to win based on their current ratings. It's a number between 0 (expected to lose) and 1 (expected to win). This is calculated using the formula with the rating difference (RD) and adjusting for scale using 400 in the exponent.
Update Elo Ratings:
After the game, the players' Elo ratings are updated based on their actual scores (S_A and S_B) versus their expected scores (E_A and E_B).
For player A: The new rating R'_A is the old rating R_A plus K times the difference between the actual outcome (S_A) and the expected outcome (E_A).
For player B: Similarly, the new rating R'_B is the old rating R_B plus K times the difference between the actual outcome (S_B) and the expected outcome (E_B).
Your rankings will determine what bonus prizes you receive. Weekly rewards happen more often but are less valuable whereas Global rewards happen less often but are more valuable.
Last updated