OpenSkill
Luau implementation of Weng-Lin ranking: a better, license-free alternative to TrueSkill
What is OpenSkill?
OpenSkill is a skill-based ranking system with the purpose of assessing and tracking the skills of players in order to be able to create fair matches.
It is a port of the amazing openskill.js package.
How does it work?
Skill is characterized by two numbers: the average skill of the player (mu) and the degree of uncertainty in the player’s skill (sigma). Maintaining an uncertainty allows the system to make big changes to the skill estimates early on but small changes after a series of consistent games has been played.
Ratings are updated after every match based on the game outcome.
Why OpenSkill?
Compared to TrueSkill, this module is up to 20x faster. The efficiency and usage have been further improved after porting it to Luau. It doesn’t have any patents or licenses.
Generally, OpenSkill gives you a lot of freedom and you can customize it for your own purposes. For example, you can choose between a model similar to Glicko and one similar to TrueSkill.
You can start by looking at the tutorial here.
Any contributions are greatly appreciated!