Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about check detection

Author: Uri Blass

Date: 00:20:24 01/26/04

Go up one level in this thread


On January 26, 2004 at 01:10:12, Mathieu Pagé wrote:

>Hi,
>
>I always thought that it was not necessary to check for check after each moves.
>My supposition was that if the search visit a node were the side that has just
>move is still in check the opposite side will take the king and this will lead
>to a so bad position (king captured) that the search (minimax, AB things) would
>just reject that move.

No

it is possible that after capturing the king the second side can also capture
the king.

Your assumptions are clearly wrong.
You also need to know if the king is in check if you want to do check extensions
and not return evaluation in check positions because they are not quiet
positions.

Uri



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.