parses PGN files and extracts statistics for chess games
Go
Switch branches/tags
Nothing to show
Clone or download
Latest commit dcf19bb Feb 28, 2016
Permalink
Failed to load latest commit information.
.gitignore first! Feb 20, 2016
LICENSE add license Feb 24, 2016
README.md update readme Feb 28, 2016
concurrent_map.go first! Feb 20, 2016
heatmap.go atomic counters for heatmaps Feb 24, 2016
ideas.txt first! Feb 20, 2016
openingmove.go first! Feb 20, 2016
pgnstats.go count min/max elo ratings and years Feb 28, 2016
stats.go first! Feb 20, 2016

README.md

pgnstats

parses PGN files and extract statistics from them. handles huge files like a champ! mostly a companion to chess-dataviz

usage

./pgnstats -h for help ./pgnstats -f=myFile.pgn -o=stats.json

statistics

  • openings tree
  • heatmaps
    • square utilization
    • move squares
    • checking squares
    • capture squares
  • results (white win / black win / draw / na)
  • games ending with check / mate
  • game length histogram
  • material count histogram (using standard values)
  • material difference histogram
  • castling (black/white, same/opposite)
  • min/max ELO
  • min/max year