Skip to main content

The video game rating system

Project description

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

See Also

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trueskill-0.4.2.tar.gz (21.2 kB view details)

Uploaded Source

File details

Details for the file trueskill-0.4.2.tar.gz.

File metadata

  • Download URL: trueskill-0.4.2.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for trueskill-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bbea8130fe63849ddc3c50980382abf838bb54c8b5fecfab1cad99146f3115ee
MD5 7e2a8e71cc414b7e05b42ba5449ef2f6
BLAKE2b-256 3f5dd59b1feaf73cbff2a24c9f05a5021b49119dc51c651a05033c6a20ebf1f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page