Changes

Jump to: navigation, search

Flipping Mirroring and Rotating

40 bytes added, 15:10, 19 December 2018
no edit summary
<span id="PseudoRotationby45degrees"></span>
==Pseudo-Rotation by 45 degrees==
The chess-board is four-fold symmetry - thus there is no real 45 degree rotation in the mathematical sense. Anyway we may map [[Diagonals|diagonals]] and [[Anti-Diagonals|anti-diagonals]] to [[ranks]], similar to [[Rotated Bitboards|rotated bitboards]].
===Clockwise===
===Anti-Clockwise===
We enumerate the 15 [[Anti-Diagonals|anti-diagonals]] by 7 ^ (file + rank), a [[Nibble|nibble]] wise [[General Setwise Operations#TheTwosComplement|two's complement]] F == -1.
<pre>
0 F E D C B A 9 1 1 1 1 1 1 1 9

Navigation menu