| View previous topic :: View next topic |
| Author |
Message |
Robert Hyatt
Joined: 27 Feb 2006 Posts: 15816 Location: Birmingham, AL
|
Post subject: Re: Crafty 23.2 released. Posted: Thu Mar 04, 2010 4:17 am |
|
|
| Peter Skinner wrote: |
Hello everyone,
Crafty 23.2 has been released.
Here are the changes since 23.1:
| Code: |
* 23.2 Two changes related to draw handling. First, the 50-move draw *
* rule is tricky. It is possible that the move on the 100th ply *
* after the last non-reversible move might not be a draw, even if *
* it is reversible itself, because it might deliver mate. In this *
* specific case, the mate will end the game as a win. This has *
* been fixed in Crafty to match this specific rule exception. Also *
* draws by "insufficient material" have been changed to match the *
* FIDE rules which say that mate can't be possible, even with worst *
* possible play by the opponent. Crafty would claim a draw in a *
* simple KN vs KN position, which is incorrect. Even though *
* neither side can force mate, mate is possible and so the position *
* is not a draw by FIDE rules. Mobility scoring changed for *
* sliding pieces. Now the mobility scores are pre-computed and *
* stored in a table that is addressed by the "magic number move *
* generation idea". This completely eliminates the computational *
* cost of the mobility scoring since all of the scores are pre- *
* computed before the game starts. This was a modest speed *
* improvement but really made the code simpler and smaller. Change *
* to lazy eval cutoff code to improve accuracy. BookUP() had a *
* minor bug that caused it to not report how many moves were not *
* included because of the "maxply" limit. This has been fixed also *
* so that it now reports the correct value. New xboard "cores" and *
* "memory" command support added. Code to malloc() both was also *
* rewritten completely to clean it up and simplify things. *
* *
******************************************************************************* |
As always, I have built Win32/64 versions for those that can not compile for themselves.
http://www.webkikr.com
Peter |
Let me add a couple of notes...
If you use a newer xboard/winboard, crafty supports the new "cores" and "memory" GUI->engine commands. But with some exceptions.
If you want to use the winboard/xboard menu to set memory (which is combined hash + pawn hash) or number of threads, then you must _not_ use the mt=n command, nor set the hash=n or phash=n options in your .craftyrc/crafty.rc configuration file. If you specify hash sizes or max threads there, crafty will not use the winboard cores/memory commands. So make certain that if you want to use the new winboard options, you remove those lines from the crafty config file.
If you want to use the memory option from winboard/xboard, you specify the size in megabytes. You need to give some thought to this number. The regular hash table must be a power of 2. Ditto for the pawn hash. A good setting would be 288, which would be interpreted as follows:
1. Crafty finds the largest power of two value in that number (which is 256m above) and uses that for the primary hash.
2. It then subtracts 256m from the above value, and then finds the largest power of two remaining and uses that as the pawn hash size. Any extra memory is unused.
Not very elegant, but I could not think of a better solution. Probably is easier to use the .craftyrc file to set those options, which will make the xboard settings irrelevant. |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Crafty 23.2 released. |
Peter Skinner |
Thu Mar 04, 2010 2:43 am |
Re: Crafty 23.2 released. |
Marc MP |
Thu Mar 04, 2010 2:48 am |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 4:19 am |
Re: Crafty 23.2 released. |
john dalhem |
Thu Mar 04, 2010 4:21 am |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 10:48 pm |
Re: Crafty 23.2 released. |
Robert Flesher |
Fri Mar 05, 2010 2:01 pm |
Re: Crafty 23.2 released. |
Robert Hyatt |
Fri Mar 05, 2010 11:07 pm |
Re: Crafty 23.2 released. |
Robert Flesher |
Sun Mar 07, 2010 6:12 pm |
Congratulations! my test |
Togga |
Thu Mar 04, 2010 11:20 am |
Re: Congratulations! my test |
Martin Helmer |
Thu Mar 04, 2010 11:39 am |
Re: Congratulations! my test |
Togga |
Thu Mar 04, 2010 11:55 am |
the crafty-crafty games |
Togga |
Thu Mar 04, 2010 11:45 am |
Re: the crafty-crafty games |
Robert Hyatt |
Fri Mar 05, 2010 4:19 am |
Re: the crafty-crafty games |
Aser Huerga |
Fri Mar 05, 2010 9:21 am |
Re: the crafty-crafty games |
john dalhem |
Fri Mar 05, 2010 10:32 am |
Re: the crafty-crafty games |
Aser Huerga |
Fri Mar 05, 2010 11:02 am |
Re: the crafty-crafty games |
Aser Huerga |
Fri Mar 05, 2010 12:25 pm |
Re: the crafty-crafty games |
Aser Huerga |
Fri Mar 05, 2010 1:30 pm |
Re: the crafty-crafty games |
Robert Hyatt |
Fri Mar 05, 2010 11:09 pm |
Re: the crafty-crafty games |
Robert Hyatt |
Fri Mar 05, 2010 11:08 pm |
Re: the crafty-crafty games |
Aser Huerga |
Fri Mar 05, 2010 11:52 pm |
Re: the crafty-crafty games |
Robert Hyatt |
Sat Mar 06, 2010 2:44 am |
Re: the crafty-crafty games |
Aser Huerga |
Sat Mar 06, 2010 8:57 am |
Re: the crafty-crafty games |
Werner Schüle |
Sat Mar 06, 2010 9:33 am |
Re: the crafty-crafty games |
Aser Huerga |
Sat Mar 06, 2010 9:42 am |
Re: the crafty-crafty games |
F. Bluemers |
Sat Mar 06, 2010 11:39 pm |
Re: the crafty-crafty games |
J. Wesley Cleveland |
Sat Mar 06, 2010 11:28 pm |
Re: the crafty-crafty games |
Swaminathan |
Sat Mar 06, 2010 11:37 pm |
Re: the crafty-crafty games |
Swaminathan |
Sat Mar 06, 2010 11:44 pm |
Re: Congratulations! my test |
Robert Hyatt |
Thu Mar 04, 2010 7:28 pm |
games |
Togga |
Thu Mar 04, 2010 7:34 pm |
what timecontrol? |
Togga |
Thu Mar 04, 2010 11:58 am |
Re: Crafty 23.2 released. |
Werner Schüle |
Thu Mar 04, 2010 7:44 am |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 7:30 pm |
Re: Crafty 23.2 released. |
Togga |
Thu Mar 04, 2010 7:37 pm |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 10:49 pm |
Re: Crafty 23.2 released. |
Graham Banks |
Thu Mar 04, 2010 2:51 am |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 4:17 am |
Re: Crafty 23.2 released. |
Peter Skinner |
Thu Mar 04, 2010 7:54 am |
Re: Crafty 23.2 released. |
Kirill Kryukov |
Thu Mar 04, 2010 8:24 am |
Re: Crafty 23.2 released. |
Dr.Wael Deeb |
Thu Mar 04, 2010 8:38 am |
Re: Crafty 23.2 released. |
clare marie benedicto |
Thu Mar 04, 2010 9:07 am |
Re: Crafty 23.2 released. |
Dr.Wael Deeb |
Thu Mar 04, 2010 11:03 am |
Re: Crafty 23.2 released. |
clare marie benedicto |
Thu Mar 04, 2010 12:34 pm |
Re: Crafty 23.2 released. |
Dr.Wael Deeb |
Thu Mar 04, 2010 4:48 pm |
Re: Crafty 23.2 released. |
Togga |
Thu Mar 04, 2010 12:22 pm |
Re: Crafty 23.2 released. |
Graham Banks |
Thu Mar 04, 2010 8:38 am |
Re: Crafty 23.2 released. |
Kirill Kryukov |
Thu Mar 04, 2010 9:54 am |
Re: Crafty 23.2 released. |
Miguel A. Ballicora |
Thu Mar 04, 2010 9:07 am |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 7:32 pm |
Re: Crafty 23.2 released. |
Peter Skinner |
Thu Mar 04, 2010 7:36 pm |
Re: Crafty 23.2 released. |
Miguel A. Ballicora |
Thu Mar 04, 2010 9:02 pm |
Re: Crafty 23.2 released. |
Robert Hyatt |
Mon Mar 08, 2010 2:38 pm |
right crafty.rc settings? |
Togga |
Thu Mar 04, 2010 12:11 pm |
Re: right crafty.rc settings? |
Jouni Uski |
Thu Mar 04, 2010 4:08 pm |
Re: Crafty 23.2 released. |
Bernhard Bauer |
Thu Mar 04, 2010 1:01 pm |
Re: Crafty 23.2 released. |
Robert Hyatt |
Thu Mar 04, 2010 7:34 pm |
Re: Crafty 23.2 released. |
Jouni Uski |
Fri Mar 05, 2010 4:52 pm |
Re: Crafty 23.2 released. |
Bernhard Bauer |
Fri Mar 05, 2010 9:12 pm |
Re: Crafty 23.2 released. |
Jouni Uski |
Mon Mar 08, 2010 9:17 am |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|