theeadie / playerrank Goto Github PK
View Code? Open in Web Editor NEWCalculates Rankings for multiplayer games
License: MIT License
Calculates Rankings for multiplayer games
License: MIT License
It should be possible to rank people on a points basis depending on their position. This would allow for ranks in a similar way to how they are calculated for motor racing (e.g. F1)
The method signature of League.GetLeaderboard()
implies it returns a new leaderboard each time. Instead it returns the pointer to the passed leaderboard now updated.
It would be better if the passed leaderboard was not mutated as part of the method call.
There should really be xml documentation for all the public API methods
Lowest points strategy should probably be rewritten to specify the number of games to count rather than a complex discard policy. Any games where the player is not competing should count as total players + 1.
In both adding a result and getting information back from the league the concepts of score and rank should be separate.
There should be some documentation for each of the features of the library and some detailed information for each scoring strategy
I'd like a way of getting the change in both Points and Position from the previous result when recording a game for each player.
This is not really needed as the project is always consumed as a nuget package
Since we're calculating them all anyway whenever we ask for the current leader board we might as well throw them in a collection and return it to a consumer.
Should add some helper objects for positions e.g. Position.First
or Position.Second
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.