Skip to content

TheEadie/PlayerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

425 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

PlayerRank

Calculates rankings for multiplayer games

How to install

dotnet add package PlayerRank

Basic usage

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);
}

Documentation

Report an issue or suggest an improvement

Please add to the issue tracker here on GitHub or send me a pull request with your improvements.

About

Calculates Rankings for multiplayer games

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors