Changes

Jump to: navigation, search

Knight Pattern

No change in size, 18:30, 10 October 2018
no edit summary
<span id="KnightAttacks"></span>
=Knight Attacks=
The [[Knight]] attacks the [[Target squareSquare|target squares]] independently from other pieces around. The compass rose of all eight attacking [[Direction|directions]] associated with the to - from square differences from an [[8x8 Board|8x8 board]]:
<pre>
<span id="ByLookup"></span>
==by Lookup==
The knight is specified by square index, likely from a [[BitscanBitScan|bitscan]] of a piece-wise [[Bitboard Serialization|bitboard serialization]] of a knight bitboard from a [[Bitboard Board-Definition|standard board-definition]], to index a table of pre-calculated knight-attacks:
<pre>
U64 arrKnightAttacks[64];

Navigation menu