ZCTACCAWCRCC

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: ZCTACCAWCRCC

Post by Zach Wegner »

Hello Dr. Deeb,

Would you still be interested in making an opening book for ZCT? Since we last talked I implemented book updating. What other functions would you need?

Thanks,
Zach
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCTACCAWCRCC

Post by Dr.Wael Deeb »

Zach Wegner wrote:Hello Dr. Deeb,

Would you still be interested in making an opening book for ZCT? Since we last talked I implemented book updating. What other functions would you need?

Thanks,
Zach
Hi Zach,
It would be my pleasure to make an opening book for your interesting engine :D
Well,what I need is a opening book making feature,a command line to extract the opening lines from a clean pgn which will be provided by me and sorting the candidate opening moves according to their frequency in the pgn and the winning games for both sides....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: ZCTACCAWCRCC

Post by Zach Wegner »

Sure, that's already there. Right now, you can make a book with a PGN where you can limit the positions based on ply depth, win rate, and minimum frequency. You can also add a PGN in later to the same book, with different settings (though the win rate and minimum frequency will be used for the whole book each time it is updated, not just the latest update). Right now I don't have any code to detect annotations like ! or ?, so the book selection code is based only on the number of games played. I might modify this slightly so that it selects based on winrate*games, i.e. the number of games won.

So in the current ZCT, you can use the "bookc" command:

Code: Select all

Usage: bookc pgn_file book_file min_play max_depth win_percent
Also, I would note that you don't need clean PGNs, all comments (at least those inside parentheses or braces) are ignored.

Thanks for the interest, and I hope to finally see a nice book for ZCT!
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCTACCAWCRCC

Post by Dr.Wael Deeb »

Zach Wegner wrote:Sure, that's already there. Right now, you can make a book with a PGN where you can limit the positions based on ply depth, win rate, and minimum frequency. You can also add a PGN in later to the same book, with different settings (though the win rate and minimum frequency will be used for the whole book each time it is updated, not just the latest update). Right now I don't have any code to detect annotations like ! or ?, so the book selection code is based only on the number of games played. I might modify this slightly so that it selects based on winrate*games, i.e. the number of games won.

So in the current ZCT, you can use the "bookc" command:

Code: Select all

Usage: bookc pgn_file book_file min_play max_depth win_percent
Also, I would note that you don't need clean PGNs, all comments (at least those inside parentheses or braces) are ignored.

Thanks for the interest, and I hope to finally see a nice book for ZCT!
Excellent Zach and you will finally see a nice opening book for Zach :D
Would you mind sending you the pgn,say tomorrow by this time and you can make the book and giving it a little test with the latest version of ZCT before releasing it :!: :?:

Keep up the good work,
Dr.Wael Deeb
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: ZCTACCAWCRCC

Post by Zach Wegner »

Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCTACCAWCRCC

Post by Dr.Wael Deeb »

Zach Wegner wrote:Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
My only recommendation is to limit the opening lines to 40 halfmoves,this is the optimal number for this pgn....
You can set whatever other settings as you prefer....

:D

P.S.pm me your e-mail please....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCTACCAWCRCC

Post by Dr.Wael Deeb »

Zach Wegner wrote:Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
My only recommendation is to limit the opening lines to 40 halfmoves,this is the optimal number for this pgn....
You can set whatever other settings as you prefer....

:D

P.S.pm me your e-mail please....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Bill Rogers
Posts: 3562
Joined: Thu Mar 09, 2006 3:54 am
Location: San Jose, California

Re: ZCTACCAWCRCC

Post by Bill Rogers »

Please forgive me for jumping into this conversation but I have been looking for exactly the same tool for a few years now. Is it possible that I can get/buy a copy too? If so I will send you my private mail.
Bill
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: ZCTACCAWCRCC

Post by Zach Wegner »

No need--ZCT is open source (relevant source here: http://zct.cvs.sourceforge.net/zct/zct/ ... iew=markup).

Unfortunately, it only works for ZCT's native book format. Your best bet is probably to use Polyglot books.