parses PGN files and extracts statistics for chess games
Go
Switch branches/tags
Nothing to show
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
concurrent_map.go
heatmap.go
ideas.txt
openingmove.go
pgnstats.go
stats.go

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