A PHP implementation of Elo rating system