megasnort / fork-cms-module-elo-rating

Module for Fork CMS to generate Elo ratings for any game that's played between two opponents
MIT License
3 stars 0 forks source link

ELO rating #16

Closed Eldenroot closed 9 years ago

Eldenroot commented 9 years ago

Is possible to show how the ELO rating is changed after each games?

Now we can see player user name vs opponent user name III results III date - what about ELO +-?

megasnort commented 9 years ago

If you go to a player's profile (who has played enough games): f.e. http://schakenopviso.megasnort.com/ranking/speler/s--bastiaansen you can position your mouse above the bullet in the graph to see the Elo- at that time title

Eldenroot commented 9 years ago

Yes, you are right but it would be better to show ELO change in every game (+ or -). It is not easy to track ELO rating after every match when you play for example 10 match in a one day

Eldenroot commented 9 years ago

Here is my idea: elo_change

I think it is really useful. Or could you help me how to add it?

megasnort commented 9 years ago

Hmm. Might indeed be a good idea. This data is cached in the elo_history-table, so I shouldn't be that hard to figure it out. Probably walking the games and history at the same time would do the trick, since they have the the same length.

Feel free to make a pull request. Or if you can wait, I'll make the modification when I have the time.

Eldenroot commented 9 years ago

I will wait, thank you very much!

Eldenroot commented 9 years ago

@megasnort - I know it is a hobby - but is there any way to get new version with new features in 3 weeks? Thank you :)

megasnort commented 9 years ago

I'll see what I can do.

Eldenroot commented 9 years ago

@megasnort - nice, I see that you added this into your module. It looks good.

Is there any easy way how to show the number in brackets:

megasnort commented 9 years ago

Done. Note that I also just fixed a major bug in the calculations of the Elo-ratings (a bracket that was out of place). Winners got way to much points. If you just edit a single game, all ratings will be recalculated correctly.

Eldenroot commented 9 years ago

Thank you, now it looks amazing!