python-chess icon indicating copy to clipboard operation
python-chess copied to clipboard

Polyglot merging and writing

Open sugizo opened this issue 3 years ago • 4 comments

nice to have more features on polyglot like make, merge, dump, etc

ref http://manpages.ubuntu.com/manpages/bionic/man6/polyglot.6.html

sugizo avatar May 25 '22 03:05 sugizo

python chess has this features with another name

for example make is same board.push

ghost avatar May 25 '22 03:05 ghost

not sure, is it same : board.push can make *.bin from *.pgn like on the link above (ubuntu package polyglot) ?

e.g. from the link polyglot make-book [-pgn inputfile] [-bin outputfile] [-max-ply ply] [-min-game games] [-min-score score] [-only-white] [-only-black] [-uniform]

sugizo avatar May 25 '22 06:05 sugizo

if you want to have this features , you must download a chess GUI not chess board

python-chess is chess board not pro chess GUI

ghost avatar May 25 '22 15:05 ghost

basically the idea is taken from python-chess itself while in pgn you can parsing (read) and writing why polyglot can only parsing (read)

if not possible, it's ok, just an idea or suggestion to have it on python-chess, still can use another app btw to achieve it

sugizo avatar May 25 '22 16:05 sugizo