The static constructor initializes the masks and the static entry for ChessEntities.

Creates a BitBoard based on another BitBoard. This would be the equivalent of a Clone() method.

Creates a BitBoard based on a UInt64.

Calculates which squares are eligible for attack based on the Square and 'Signature' in the a8 to h1 direction
Returns: datatype : UInt64

Display the bitboard on the System Console

Display the bitboard on the System Console with a title

Calculates which squares are eligible for attack based on the Square and 'Signature' of the File
Returns: datatype : UInt64

Calculates which square is the next occupied square for Black
Returns: datatype : byte

Calculates which square is the next occupied square for White
Returns: datatype : byte

Returns the corresponding rotated square given any square for 45 degree left rotations
Returns: datatype : int

Returns the corresponding rotated square given any square for 45 degree right rotations
Returns: datatype : int

Returns the corresponding rotated square given any square for 90 degree rotations.
Returns: datatype : int

Calculates which squares are eligible for attack based on the Square and 'Signature' in the h8 to a1 direction
Returns: datatype : UInt64

Initializes the Mask array

Initializes the rank shifts array

Initializes the rank shifts array for squares that are rotated 90 degrees

Determines if a square occupied
Returns: datatype : bool

Logically ANDs two BitBoards together.
Returns: datatype : UInt64

Logically ORs two BitBoards together
Returns: datatype : UInt64

Calculates which squares are eligible for attack based on the Square and 'Signature' of the Rank
Returns: datatype : UInt64

Copies one existing BitBoard to another.

Sets the contents of an existing BitBoard to the RawBoard passed in.

Sets Square to occupied.

Shift the board for Rook Attacks
Returns: datatype : UInt64

Change the state of the square from occupied => empty  empty => occupied

Formats a string representation of a BitBoard.
Returns: datatype : string


ReadOnly property that tells how many bits are set in the current BitBoard

ReadOnly property that exposes the contents of the board


BitBoard array (length:64) the contains a '1' in one square.

Represents the number of rank shifts required for each square

Represents the number of rank shifts required for each square rotated 90 degrees

BitBoard mapping for squares rotated 45 degrees left. This is in the A8H1 direction.
ChessSquares.htm#A8H1

Represents the number of bits to mask off for each square rotated 45 degrees left. This is in the A8H1 direction.

BitBoard mapping for squares rotated 45 degrees right. This is in the H8A1 direction.
ChessSquares.htm#H8A1

Represents the number of bits to mask off for each square rotated 45 degrees right. This is in the H8A1 direction.

Bitboard mapping for rotating 90 degrees
ChessSquares.htm#90R

Represents the number of bits to shift for each square rotated 45 degrees left. This is in the A8H1 direction.

Represents the number of bits to shift for each square rotated 45 degrees right. This is in the H8A1 direction.

The contents of the board

