robertnurnberg / matetools

Python scripts to manipulate and provide mating PVs for Chest-like EPD files.
GNU General Public License v3.0
3 stars 1 forks source link

add parameters for mate in 126 #64

Closed robertnurnberg closed 4 months ago

robertnurnberg commented 4 months ago
> pypy3 matetb.py --engine ./stockfish --epd "n7/b1p1K3/1pP4p/1P4p1/6p1/1p4Pn/1P2N1br/3NRn1k w - -"
Running with options --epd "n7/b1p1K3/1pP4p/1P4p1/6p1/1p4Pn/1P2N1br/3NRn1k w - -" --excludeMoves "e2g1 e2c1 e2c3 e2d4 e2f4 g3h1 g3h5 g3f5 g3e4 g3f1" --excludeFrom "b2 d1 e1 b5 c6" --excludeTo "a8 b6 c7 b3" --excludeToCapturable --excludePromotionTo qrbn --excludeAllowingFrom "a8 b6 c7 h2 f1" --engine ./stockfish --limitDepth 10 --analyseAll
Restrict moves for WHITE side.
Create the allowed part of the game tree ...
Found 30670 positions in 91.83s
Connect child nodes ...
Connected 30670 positions in 2.01s
Generate tablebase ...
Tablebase generated with 70 iterations in 0.37s

Matetrack:
n7/b1p1K3/1pP4p/1P4p1/6p1/1p4Pn/1P2N1br/3NRn1k w - - bm #126; PV: e7f6 a7b8 f6e5 b8a7 e5d4 a7b8 d4c3 b8a7 c3b4 a7b8 b4a4 b8a7 a4a3 a7b8 a3b4 b8a7 b4c3 a7b8 c3d4 b8a7 d4e5 a7b8 e5f6 b8a7 f6e7 a7b8 e7d8 b8a7 d8c8 h6h5 c8d8 a7b8 d8e7 b8a7 e7f6 a7b8 f6e5 b8a7 e5d4 a7b8 d4c3 b8a7 c3b4 a7b8 b4a4 b8a7 a4a3 a7b8 a3b4 b8a7 b4c3 a7b8 c3d4 b8a7 d4e5 a7b8 e5f6 b8a7 f6e7 a7b8 e7d8 b8a7 d8c8 h5h4 c8d8 a7b8 d8e7 b8a7 e7f6 a7b8 f6e5 b8a7 e5d4 a7b8 d4c3 b8a7 c3b4 a7b8 b4a4 b8a7 a4a3 a7b8 a3b4 b8a7 b4c3 a7b8 c3d4 b8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