Author: Robert Hyatt
Date: 11:56:31 01/07/02
Go up one level in this thread
On January 07, 2002 at 13:31:47, David Rasmussen wrote: >On January 07, 2002 at 13:20:20, Rafael Andrist wrote: > >>On January 07, 2002 at 10:03:41, David Rasmussen wrote: >> >>>In SEE, the king should of course be the last to capture, as no piece can >>>capture the king. But the king should also have some large value to indicate a >>>winning capture for the opposing side. In a position such as this: >>> >>>[D]2rqkb1r/p1pnpppp/3p3n/3B4/2BPP3/1QP5/PP3PPP/RN2K1NR w KQk - 0 1 >> >>I would stop the capture sequence before involving the king in this case. If you >>only have a king to (re-)capture and there are still other pieces "pointing" to >>the to-square, stop the capture sequence. >> >>regards >>Rafael B. Andrist > >Yeah, that's what I have suggested too, after writing my first post. > >/David That works but it wastes time. IE you are making that check all the time when it is rarely important. Assuming you minimax the scores after you make the last capture, if a king is "hung" the captures will not go beyond that point _anyway_ since the side on move loses too much material (by losing the king) to make the capture worthwhile. Doing it as I suggested produces the right answer every time, without any special test inserted in a loop that is executed a _bunch_ of times in a search...
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.