Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: how do I determine 'mate in' depth?

Author: Robert Hyatt

Date: 09:27:53 09/09/02

Go up one level in this thread


On September 09, 2002 at 11:30:01, scott farrell wrote:

>This may seem obvious, but my chompster is only a todler.
>
>I have tried adding it to the score, like:
>INFINITY+12  (for mate in six), this does a few bizare things,
>like the first move played shows a score of INFINITY+1, the second move
>INFINITY+3 (which is obviously from the hastable), and then INFINITY+5 etc etc.
>
>Is it posible to read it from the hash table?
>
>I currently read my PV from the hashtable.
>
>Thanks
>Scott


It should always be MATE - ply, where MATE is something like +INFINITY
or whatever large number you want, and ply is the ply at which you find you
have no legal moves and are in check...  that makes deeper mates look worse
than shallow mates to the mating side.



This page took 0.01 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.