Author: Anthony Cozzie
Date: 09:51:49 12/12/03
if (wfile+wtm > bfile+1) {
if (wfile < FirstOne8Bit(tree->pawn_score.allb))
pscore+=WON_KP_ENDING;
}
where wfile is File(white king) etc.
Now, this doesn't quite make sense: I'm thinking it should be
wfile < (FILEH - last_one_8(tree->pawn_score.allb))
However, even then, the bonus is not always correct, for example:
[D]8/8/5ppp/1k6/8/2K2PPP/8/8 w - - 0 1
is drawn.
anthony
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.