Skip to content

A JavaScript based server running the TrueSkill ranking algorithm.

Notifications You must be signed in to change notification settings

racingjellyfish/TrueSkillServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrueSkillServer

A JavaScript based server running the TrueSkill ranking algorithm.

Usage

There are 3 simple steps to get this server up and running:

You should now be able to visit: localhost and see the results of the match between two default ranked players with player 1 winning the match.

Or you can add one or more of the following URL parameters to override the default settings:

  • teamOneMean: specify the team one mean skill
  • teamOneStd: specify the team one skill standard deviation
  • teamOneRank: specify the team one rank
  • teamTwoMean: specify the team two mean skill
  • teamTwoStd: specify the team two skill standard deviation
  • teamTwoRank: specify the team two rank

This allows you to specify the team skills before the match and the result of the match, for example:

TODO:###

  1. explore Express/Jade
  2. try the node debugger
  3. deployment
  4. write the server app to use the library code
  5. figure out how the UI should work
  6. database for storing skills
  7. look into calculating handicaps from team differences, also does the actual match result matter, i.e. 10-9 vs 10-0
  8. consider adding attack/defence flags for players and track skill separately, so a player might have 3 skill values, attack/defence/combined?
  9. match quality display, i.e. calculate quality for all possible matches and display a leader board?
  10. graph skills over time
  11. if tracking attack/defence position separately include in match quality calculations
  12. take intermediate calculations of team skill when combining players and rank?
  13. how to handle different game formats, e.g. first to 5, is this equivalent to all players having a 50% partial play?
  14. player registration
  15. league management
  16. in addition to an all-time league also implement a rolling league calculation, i.e. only include results from the last n days
  17. figure out what match quality actually represents
  18. for each match show the probability of the actual result, is this possible before the match is played? see: TrueSkillFactorGraph.getProbabilityOfRanking()
  19. could this be used to analyse football matches/horse races/etc?
  20. ...

###Done###

  1. figure out how to package a module for re-use
  2. upload true skill library code to github
  3. publish true skill library code to npm

About

A JavaScript based server running the TrueSkill ranking algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published