Generally there are two approaches to determine pawn attack-sets, push targets or pawn-structure properties. By a single pawn or set-wise with multiple pawns. Since we have up to eight pawns per side, the set-wise approach has some merits. Disadvantage of set-wise operations is, we likely need different code for white and black pawns, while pre-calculated lookups by color and square allows to write more general code.
A pawn captures diagonally forward, but otherwise pushes forward one - or optionally two steps from it's initial rank. For white versus black pawns forward and backward are considered relative from either whites or blacks point of view.
Table of Contents
Moves and Captures
A pawn captures diagonally forward, but otherwise pushes forward one - or optionally two steps from it's initial rank. For white versus black pawns forward and backward are considered relative from either whites or blacks point of view.Properties
Properties about the pawn structure are likely subject of evaluation.Pawns in touch
Fills and Spans
Based on Spans
See also
Publications
Forum Posts
External Links
References
Up one Level