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
Links
See Also
Project details
Release history Release notifications | RSS feed
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.tar.gz
(20.4 kB
view details)
File details
Details for the file trueskill-0.4.tar.gz
.
File metadata
- Download URL: trueskill-0.4.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8300d7300b8d2fa304d6c51cdc4df0621c75c532c1d5c748f6c8ceae192966b |
|
MD5 | 96be2cf3d2f183f8556dd72df9f4644f |
|
BLAKE2b-256 | d72b6a89b27af712f03a70eb70f369f8207a5fe6d65ef8568308408aceb932a1 |