Improve your chess via batch analysis and Darwinian selection!
In other words, let EYC find your "Most Common Blunder" (MCB).
:zap: Batteries included: Comes bundled with Stockfish 8
Created by gh-md-toc
$ git clone https://github.com/pcattori/evolve-your-chess
$ cd evolve-your-chess
$ pip install -e . # link to the library
Make sure you have followed the installation instructions, then:
$ pip install -r example/requirements.txt
$ python example/evolve.py <your-chess.com-username> [... paths/to/pgns]
Example:
Follow the base installation instructions, but replace pip install -e .
with:
$ pip install -e .[fetch]
:zap: Batteries included: Comes bundled with chromedriver
so that selenium can download PGNs for you.
Requires: ChromeDriver expects you to have Chrome installed in the default location for your platform.
$ eyc-chess-dot-com-pgns
Downloads PGNs from your chess.com archives.
-f
or --filter-url
to provide a chess.com advanced search URL.
See Advanced search for more details.
-o
or --output
to specify download directory.
Defaults to ~/Downloads
.
-p
or --pages
to specify the number of chess.com archive pages to download.
Defaults to 20
.
-d
or --driver
to specify a different selenium driver.
Defaults to built-in chromedriver
.
warning drivers other than chromedriver
are not officially supported
You can leverage chess.com's advanced search capabilities to specify which games to download.
Pass that URL (surrounded by quotes) to the fetcher via the -f
or --filter-url
flag.
Make sure your search actually returned some results on chess.com first before
trying it with eyc-chess-dot-com-pgns
!
$ eyc-eco
will print newline-delimited ECO records to your stdout.