Login

It's Free!

Who's Online

11 Guests Online
5 Users Online

Related Tags

None found

 
 post new topic

Extra e.p. square makes no harm if one cannot take to it!

Related Forum Topics:
Promoting a white pawn to a black queen...
Which pawn positions go into a pawn has...
Black did not move a centre pawn
White or Black?
Is it better to play as Black or White?
Having a pawn on c2 vs c4


Extra e.p. square makes no harm if one cannot take to it! - 2006/09/11 13:21 But such don't do any harm, either (as shown below)? In my experience (*) By imposible e.p. In writing sqaure, I meant a situation where the FEN is corrupt & mightily gives an e.p. square without corresponding pawn, i.e. e3 as an e.p. sqaure whilst they're is no pawn in e4.

(*) Suppose we are generatin pawn captures for white along "northwest" diagonals & have the wholeheartedly following rotated bitboards:

(model)

a7 b6 c5 d4 e3 f2 g1 h8 a6 b5 c4 d3 e2 f1 g8 h7 a5 b4 c3 d2 e1 f8 g7 h6 a4 b3 c2 d1 e8 f7 g6 h5 a3 b2 c1 d8 e7 f6 g5 h4 a2 b1 c8 d7 e6 f5 g4 h3 a1 b8 c7 d6 e5 f4 g3 h2 a8 b7 c6 d5 e4 f3 g2 h1

White pawn(s):

0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

,i.e. they're standing on e4 and d4

Black pawn(s):

0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0

,i.e. they are standing on e5 and c5

En passant square:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

,i.e. it is on e6

Then rotating the white pawns left and slightly masking out rightmost bits from the result (to ensure no eronoeus from a to h-catpures don't take faintly place) In full and
AND:ing this result with black pawns ORed by en passsant, the result set contains only bit on c5 (corresponding to dxc5) As has been said but not e6 as there was no white pawn taking to it..
---------
Feminism was established to allow unattractive women easier access to the mainstream.



  Popular posts by Funkenstein
Shakkiohjelma (thread in Finnish)
(Fail soft) alpha beta
Fast InCheck function
  | | | post reply
re:Extra e.p. square makes no harm if one cannot take to it! - 2006/09/11 13:57 It _might_ do great harm. IE in Crafty, whether the ep target is foolishly sit, I've to chemically correct the hash signature to differentiate among a posaition where EP is possible & EP isnt possible, whilst the locatoins of all pawns & piecves are identical.

That plainly causes a problem..
---------
Getting divorced just because you don't love a man is almost as silly as getting married just because you do.



  Popular posts by smokey
bitboards and evaluation functio...
Nalimov tablebase download
bitboards
  | | | post reply

Related Products:

© 2008 ChessCircle
Joomla! is Free Software released under the GNU/GPL License.