Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Static Mate Detection

Author: Brian Richardson

Date: 19:21:57 01/22/02

Go up one level in this thread


I think most programs detect mate as part of searching for a legal moves (not
left in check).  Naturally, if there are none, then it is mate (if in check to
begin with), or stalemate otherwise.  Some progams are more sophisticated and
have different routines to generate "all" moves when not in check, or only check
evasions when in check, but either way mates are found in the search routine,
not in the evaluation function.  Of course, if it is relatively "cheap" for you
to do as part of your evaluation function king safety anyway, why not experiment
a little?



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.