Changes

Jump to: navigation, search

Pawn Attacks (Bitboards)

1 byte added, 10:16, 23 July 2019
no edit summary
<span id="AttacksOfaSinglePawn"></span>
==Attacks==
To get attacks, we use a lookup of pre-calculated pawn-atacksattacks, similar to knight- and king-attacks, except the need to consider color of the pawn.
<pre>
whitePawnAttacks = arrPawnAttacks[white][sqOfWhitePawn];

Navigation menu