Author: Tord Romstad
Date: 13:05:06 01/07/03
Go up one level in this thread
On January 07, 2003 at 07:17:27, Ed Schröder wrote: > >Let's go through a couple of xray examples: > >[d]rn1qkbnr/pbppp1pp/1p3p2/8/2B5/1QP1P3/PP1P1PPP/RNB1K1NR b KQkq - > >The knight on G8 is hanging, 2 attackers, one defender, the lowest attacking >piece is a bishop. You can extract this from the bit settings. > > > > > > > >[d]r2qkbnr/pbppp1pp/1pn2p2/3Q4/2B5/2P1P3/PP1P1PPP/RNB1K1NR b KQkq - > >The knight on G8 is not hanging because the lowest attacking piece is a Queen. I still don't quite understand this, I'm afraid. How do you determine the lowest attacking piece from your bit settings in the presence of an x-ray attack? How do WB[G8] look for the above two positions? The way I understand the section about Rebel's eval on your homepage, the bit vector would look like this in both cases: +------+------+------+------+------+------+------+------+ | BIT0 | BIT1 | BIT2 | BIT3 | BIT4 | BIT5 | BIT6 | BIT7 | +------+------+------+------+------+------+------+------+ | Number of | PAWN |KNIGHT| ROOK | QUEEN| KING | | ATTACKERS | |BISHOP| | | | +------+------+------+------+------+------+------+------+ | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | +------+------+------+------+------+------+------+------+ Clearly I am misunderstanding something, but I am not sure what ... Tord
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.