[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
To get things started, the script would read in results from a set of logs for finished games whose game name matches a given wildcard. This could be * for all games, a specific game name, or something that includes some different games, such as *Chess. The rating would be calculated from all the logs read in. It would be most meaningful for a specific game, but it could also be calculated for all or several different games. The Data would be stored into a two-dimensional array of pairwise wins and another of pairwise draws. Alternately, a draw would simply count as half a win for each player, and I would record everything into one array. The question I need to answer is how to use these arrays to calculate individual ratings for the players whose wins, losses, and draws are recorded in them.