When the pawn updates it's attack bitboards it only looks for squares with
opponents pieces. This will not work because the pawn technically still
attacks the square when there is no pieces. The best example is king movement,
because they need to know the pawn is attacking that square and cannot move
into it. Currently, this is not the case and the king could move into the
square at will.
Development:
The pawn needs to calculate the attack squares and then figure out the move
squares and including any attack squares that have the opponents piece in the
square. This will still have the pawn attacking the square, but only allowed
to move to it if there is an opponents piece.
Original issue reported on code.google.com by crai...@gmail.com on 23 Dec 2010 at 7:36
Original issue reported on code.google.com by
crai...@gmail.com
on 23 Dec 2010 at 7:36