Polyglot Opening Book of Random Moves?

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Polyglot Opening Book of Random Moves?

Post by hgm »

chrisw wrote: Sat Feb 11, 2023 5:43 pm
hgm wrote: Sat Feb 11, 2023 11:01 am
Steve Maughan wrote: Fri Feb 10, 2023 9:35 pm Hi Chris — that looks like the best option. Python Chess looks excellent.

— Steve
Well, there isn't any need to program anything yourself for this. You can just use an engine like Brutus Random to play a zillion games, and convert the resulting PGN to a pook using Polyglot.
Well, there isn’t any need to go downloading external stuff, working out how to get it to work, clogging up your HD with humungous PGN data and humungous book binaries for this. Just use Python, keep the whole thing under your own control (like add filters in the future if desired), generate depth programmable random moves on the fly and dump the resulting data as PGN or EPD.
You can use Python without downloading it? :shock:
chrisw
Posts: 4624
Joined: Tue Apr 03, 2012 4:28 pm
Location: Midi-Pyrénées
Full name: Christopher Whittington

Re: Polyglot Opening Book of Random Moves?

Post by chrisw »

hgm wrote: Sat Feb 11, 2023 7:23 pm
chrisw wrote: Sat Feb 11, 2023 5:43 pm
hgm wrote: Sat Feb 11, 2023 11:01 am
Steve Maughan wrote: Fri Feb 10, 2023 9:35 pm Hi Chris — that looks like the best option. Python Chess looks excellent.

— Steve
Well, there isn't any need to program anything yourself for this. You can just use an engine like Brutus Random to play a zillion games, and convert the resulting PGN to a pook using Polyglot.
Well, there isn’t any need to go downloading external stuff, working out how to get it to work, clogging up your HD with humungous PGN data and humungous book binaries for this. Just use Python, keep the whole thing under your own control (like add filters in the future if desired), generate depth programmable random moves on the fly and dump the resulting data as PGN or EPD.
You can use Python without downloading it? :shock:
Said the guy without a Python install.
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Polyglot Opening Book of Random Moves?

Post by hgm »

Said the guy without WinBoard install...
.
Why would I want Python? To program what WinBoard already does out of the box?