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

Project details


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.5.tar.gz (21.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: trueskill-0.4.5.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.6.2 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.11+

File hashes

Hashes for trueskill-0.4.5.tar.gz
Algorithm Hash digest
SHA256 9d62b48d2428369d712bd9becff9f9a2caa325e1a2ab5f9392d34bff757867bb
MD5 1c695188b277ca340d9d02df57028574
BLAKE2b-256 d0b1572f309178eacdccd9f9f5f3e3e14fb3543a89c6259d62b36660350af2b9

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