Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: great mate in 4

Author: Stan Arts

Date: 07:06:56 02/11/03

Go up one level in this thread


Hi!

>>8  1115  8    894731    Kc5-d4 c7-c6 Nf3-d2 Kg4xg5 Qe2-e7 Kg5-h6 b5xc6 Kh6-h7
>>8  1169  9    950090    Qe2-d3 c7-c6 Nf3-e5 Kg4xg5 b5xc6 Kg5-f6 Qd3-c3 Kf6-g7
>>8  9999  11   1107617   Bd7-c8 Kg4-h4 Bc8-b7
>>
>>My program finds 99.99 on the 8th ply wich means a mate in 4 (my program always
>>finds mates in Nx2 ply.. so 8 ply=mate in 4 :)  )
>
>I'm confused by this output.
>
>Doesn't your engine adjust the mate-value (9999) with the distance from the
>root-position. In other engines, it would be like this:
>
>+9999 mate in 1
>-9998 mated in 1
>+9997 mate in 2
>[...]
>+9993 mate in 4

Hmm no it always returns 9999 or -9999 incase of a mate somewhere in the
searchtree. But i saw also the Arena GUI takes that value and anounces mate in
x with them, so it'd be a good idea for me to change this.. But i didn't know
yet how these numbers are counted.. :(

>
>This way the engine prefers shorter mates and doesn't 'loop forever' in a KRK
>endgame. :) But maybe I just misinterpret your numbers?

That would happen if i let my program search on and on, but to stop that from
happening I let it stop the search and play the found mate at the end of the
ply. If i disable this and it gets 2 ply deeper then if found the mate on,
indeed it can keep delaying the mate endlesly!.. :)

Stan



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.