A very basic Elo ranking implementation based on a stripped-down reading of the Wikipedia article on Elo rankings.
The code in test.php describes how to use the code.
- Allow the k-factor used for a particular competitor to vary depending on the competitor's current ranking and/or number of matches. Beginners and those with low scores should generally be more mobile (higher k-factor).