Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: I don't use illegal moves EVER

Author: Heiner Marxen

Date: 14:58:27 11/25/99

Go up one level in this thread


>For me the fact of recognition os the check is almost as
>time consuming as legality of all the pieces beside the king

If you know the last move, which leads to the position in question,
you need not search much to find the checking piece(s).  With the
exception of e.p. and castling moves, there are just two chances:
(d) the last moved piece may give a direct check from its target square
(i) the last moved piece may have discovered a check on its source square

(i) is possible only, if your kingĀ“s square is related to the last pieces
from square: on same row, column or diagonal.  That can be detected fast.
For (d) similar geometric considerations are possible.

Heiner



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.