Skip to content

Commit dbab1ea

Browse files
authored
Update README.md
1 parent 794545b commit dbab1ea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A python script that can analyze games in the pgn file. It can also analyze epd
1212
### 1. Analyze games in pgn file
1313
#### a) Basic command line
1414
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --eval search --job analyze --movetime 2000`
15+
1516
#### b) Add options to engine, use --engineoptions
1617
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --engineoptions "Hash value 128, Threads value 1" --eval search --job analyze --movetime 2000`<br><br>
1718
Will analyze games inside sample.pgn and output the analyzed games in out_sample.pgn. It uses engine Stockfish.exe with Hash 128MB and Threads 1 at 2000 millisec or 2 sec analysis time per position. chess-artist.py and Stockfish.exe engine must be in same directory.<br>
@@ -22,6 +23,15 @@ Will analyze games inside sample.pgn and output the analyzed games in out_sample
2223
#### d) Analyze game with polyglot book in book dir at chess-artist folder
2324
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --engineoptions "Hash value 128, Threads value 1" --bookfile book/book.bin --eval search --job analyze --movetime 2000`
2425

26+
#### e) Analyze between move 12 to move 20
27+
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --eval search --job analyze --movetime 2000 --movestart 12 --moveend 20`
28+
29+
#### f) Analyze certain player name say Carlsen, Magnus
30+
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --eval search --job analyze --movetime 2000 --movestart 12 --moveend 20 --player "Carlsen, Magnus"`
31+
32+
#### g) Analyze games of Carlsen, Magnus where he is black
33+
`python chess-artist.py --infile sample.pgn --outfile out_sample.pgn --enginefile Stockfish.exe --eval search --job analyze --movetime 2000 --movestart 12 --moveend 20 --player "Carlsen, Magnus" --color black`
34+
2535
### 2. Test engine with test suite
2636
#### Use movetime of 500ms
2737
`python chess-artist.py --infile wacnew.epd --outfile result_wacnew.txt --enginefile stockfish_10.exe --engineoptions "Hash value 128, Threads value 1" --eval search --job test --movetime 500`<br><br>

0 commit comments

Comments
 (0)