For my Stat study of chess results, I need a utility that:
Reads in a pgn file.
Asks for a maximum elo distance.
Extracts the white elo and black elo of each game from the elo tags, provided both elo tags exist.
Determines the elo distance = absoluteValue (white elo - black elo) of each game where both elo tags exist.
Outputs a subset of the input file containing those pgns that are within the maximum elo distance.
Outputs the average elo distance.
Outputs the maximum elo distance.
thanx
-Norm