-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation available? #1
Comments
Hi @Crypto-Spartan |
Looking at the interesting part from the tests we have a player being created, rating deviation being set to 200 and 3 matches being registered:
If you're implementing a ranked board you don't need to worry about most of these and after a match just
|
Perfect! Can this also be used to create balanced teams as well, or is this only for keeping track of player's glicko ratings? |
I haven't personally used it in any way for non-static teams (only static teams where each team was represented as a player) and unfortunately I don't even know of a free/open or public domain rating system with support for teams. |
Although if you're in charge of matchmaking between teams and got a large pool of players there's a bunch of ideas I can think of and if your teams are small or there's 1v1 matches there's some other things you can make use of |
Looking to implement it for 5v5 matches. So far the player pool is small, most I've had is 50 players |
Having a improved Readme and documentation with some examples would be really great to have, specially for newbies to glicko as this seems to be the only python repo upto date and being maintained. In the example, the RD is being set to 200 manually. But if I am not wrong, at end of player rating updation/evaluation (P1.rating), do we also get a updated RD (P1.rd) ? I am trying to understand this in terms of a 1v1 game (chess)
|
I guess the example isn't great as you'd usually pass initial values to But yes, You'd also need to register a loss on the other side with the values from P1 before doing |
If I am not wrong, actual boilerplate code should look like this ?
However, if I run above code after current match ends, how or where do I provide win/loss data from this recent match to recompute ? |
This module really only gives you the glicko2 part, you're going to have to handle wins/losses and history yourself. I guess there might be a case for adding a method like win/lose to the Player object that takes another Player and updates both of them, but I'm not sure that'd be overly useful for the average user (since you're likely going to do that already, and also be interested in the change in values). The way I'm using it is that I'm storing the history and the players in my database, when there's a new result I retrieve both players and update them accordingly, then I update the database with the new values for the players and store the new history entry. |
No no, obviously the win/loss and history logic is user/app side and not by this repo, I meant if I am managing them as a example of chess game. How is your history or records structured ? |
If you got 2 players playing against each other you're going to need to call My personal usage is real-time so I only ever have one game to update, my history is |
he in fact did not remember... |
Hi!
This is a really cool project. I am looking to implement this in some portions of code that I have. Is there any sort of documentation to show how to use it?
Thanks!
The text was updated successfully, but these errors were encountered: