Little thing to organize round-robin tournaments and work with a rating for the participants.