Changes

Jump to: navigation, search

First Rank Attacks

3 bytes removed, 21:55, 16 June 2021
no edit summary
<span id="TheOuterSquares"></span>
==The Outer Squares==
If we think about to the occupancy lookup, we may recognize that the outer squares don't matter. There are no more squares behind. The outer squares are either attacked or not - independent from their occupancy state. We can use the '''six inner bits''' only as lookup-index with two additional cheap instructions.
<pre>
BYTE arrFirstRankAttacks64x8[64][8]; // 512 Bytes = 1/2KByte

Navigation menu