Based upon http://en.wikipedia.org/wiki/Elo_rating_system and http://wiki.roblox.com/index.php?title=Matchmaking.