Implement ELO rating.