Performance rating in chess, tennis, and other contexts