Calculates rankings for multiplayer games
dotnet add package PlayerRank
var game = new Game();
game.AddResult("Foo", new Points(10));
game.AddResult("Bar", new Points(0));
var league = new League();
league.RecordGame(game);
var scoringStrategy = new SimpleScoringStrategy();
foreach (var position in league.GetLeaderBoard(scoringStrategy))
{
Console.WriteLine("Position: {0}, Name: {1}, Score: {2}",
position.Position, position.Name, position.Points);
}
Please add to the issue tracker here on GitHub or send me a pull request with your improvements.