Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Check evasion : what's the point anyway?

Author: Tord Romstad

Date: 03:27:55 08/24/04

Go up one level in this thread


On August 24, 2004 at 06:17:50, martin fierz wrote:

>as a related question to mridul's post: i don't have a special check evasion
>generator. i just have a single normal move generator and if it's a check, i
>will have to execute all the normal moves, and undo them again after seeing that
>it's still a check.
>
>does anyone have an estimate on how much a specialized check-evasion move
>generator would speed up a program?
>is it really worth it?

It probably doesn't give any great speedup, but it's still quite convenient.
The advantage is that you immediately know the number of legal moves, without
having to execute all moves and testing whether it's still check.  This
enables you to detect checkmate without making and unmaking any moves, and
to easily extend in positions with only a single reply to check.

Tord



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.