Author: Robert Hyatt
Date: 19:00:04 03/29/00
Go up one level in this thread
On March 29, 2000 at 10:17:30, KarinsDad wrote: >On March 29, 2000 at 09:37:55, Robert Hyatt wrote: > >>On March 28, 2000 at 23:49:23, Kai Skibbe wrote: >> >[snip] >> >>It actually does, after I looked at it. The problem was that I had some >>qualifiers that could be subtly defeated. I require that the lone king >>by at least on the same rank as the rook pawn, and within 1 file. In this >>case, 1 file wasn't enough as after the Bc7 check, KxB leaves the king two >>files away. Which still means the pawn can't possibly promote unless it is >>at a7. I fixed this one line and the problem went away although there is still >>an issue of an occasional fail-high but no PV when searching this to very deep >>levels... > >Robert, > >Did you implement "within the square rules" for this type of thing? > >If so, how? > >KarinsDad :) No... because "in the square" (or _not_ in the square) is handled separately when one side has no pieces and the other side has passed pawns. The thing to catch here is that the king has to be able to reach any square on the rook file that is in front of the pawn... There is one painful case that has to be handled, the one where the opponent's king is in front of the pawn, but your king prevents it from ever leaving the rook file...
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.