Leaderboard

John

Power: 10

Rating: 1,000

Jane

Power: 9

Rating: 1,000

Bob

Power: 8

Rating: 1,000

Alice

Power: 7

Rating: 1,000

Charlie

Power: 6

Rating: 1,000

Dave

Power: 5

Rating: 1,000

Eve

Power: 4

Rating: 1,000

Frank

Power: 3

Rating: 1,000

George

Power: 2

Rating: 1,000

Hannah

Power: 1

Rating: 1,000

Matches

John vs John

Rating: 1,000 vs 1,000

Power: 10 vs 10

Jane vs Jane

Rating: 1,000 vs 1,000

Power: 9 vs 9

Bob vs Bob

Rating: 1,000 vs 1,000

Power: 8 vs 8

Alice vs Alice

Rating: 1,000 vs 1,000

Power: 7 vs 7

Charlie vs Charlie

Rating: 1,000 vs 1,000

Power: 6 vs 6

This is a simple example of an implementation of the Elo rating system popularized by the game of Chess. Essentially, matches are chosen by selecting "decent" matchups (nearby players rating-wise) sequentially, such that every single player gets a match each turn. The players then play the matches and update their ratings, where the power of a player represents how strong they are. Ideally, the players will eventually sort themselves in decreasing order of power.

Note: since we make sure every player has matchup and the order matchups are created is random, the players may have to play with far away opponents to get a match.