Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fast check detection in bitboard engine

Author: Robert Hyatt

Date: 19:42:05 12/10/03

Go up one level in this thread


On December 10, 2003 at 21:45:22, Russell Reagan wrote:

>On December 10, 2003 at 17:06:18, Robert Hyatt wrote:
>
>>Remember, I don't check for legality in Crafty.  I just make the move,
>>legal or not, and go to the next ply.  The move generator will notice it
>>can capture the opponent's king and return an illegal move indicator to
>>the previous ply.
>
>Could you point me to where is this going on? I can't seem to find it when
>looking over the move generation functions or the search function.


Hmmm.  Neither can I.  I don't remember where/when I stopped doing that.
It might have been back when I started fiddling with singular extensions
or something.  But now, I do not do what I said I was doing.  I make a
move, and if in check after making that move, I just drop through and unmake
it and continue without searching the resulting illegal move.

Sorry.  I suppose a "senior moment".  :)



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.