skip to navigation
skip to content

Not Logged In

trueskill 0.4.1

The video game rating system

Package Documentation

An implementation of the TrueSkill algorithm for Python. TrueSkill is a rating system among game players and it is used on Xbox Live to rank and match players.

from trueskill import Rating, quality_1vs1, rate_1vs1
alice, bob = Rating(25), Rating(30)  # assign Alice and Bob's ratings
if quality_1vs1(alice, bob) < 0.50:
    print('This match seems to be not so fair')
alice, bob = rate_1vs1(alice, bob)  # update the ratings after the match
 
File Type Py Version Uploaded on Size
trueskill-0.4.1.tar.gz (md5) Source 2013-06-06 20KB
  • Downloads (All Versions):
  • 20 downloads in the last day
  • 257 downloads in the last week
  • 1097 downloads in the last month