The purpose of this project is to build analytical tools that enable the creation and comparison of player-specific sytlometric signatures from an arbitrary set of games.
The inspiration of this project was the bullet chess (1 minute per side) match between current world champion Magnus Carlsen (DrNykerstein) vs. the young prodigy Alireza "The Razor" Firouzja. The match took place on April Fool's Day, sparking wild speculation that the players had switched accounts as a joke. The matter could not be settled, however, until now.
Main factor:
- Opening choice (with descending weight based on move depth)
Secondary factor:
- Average centipawn loss
- User specifies a group of games in PGN format to analyze
- The program analyzes each game, and creates tables of openings
Download PGNS from any player from any time period using the downloader. Usage:
In src/chess_stylometry
:
python main.py --path-to-pgns "test/hikaru" --download True --player-name hikaru --pgn-source C --start-year 2014 --end-year 2020