Changes

Jump to: navigation, search

Pawn Attacks (Bitboards)

26 bytes added, 01:12, 30 November 2019
no edit summary
==Captures==
Only intersection with the opponent pieces is required.
We may include a possible [[En passant|en-passant ]] target square.
==Captures==
As usual, capture targets are the intersection of attack-sets with opponent pieces. Except [[En passant|en-passant]] captures of course. A reverse shift of disjoint direction-wise sets obtains the pawns which may capture.
To find the pawn set, which can actually capture, on the fly, we can start with the target squares as well:

Navigation menu