Bitboard
A 64-bit integer representing a set of squares on the chess board.
Uses Little-Endian Rank-File (LERF) mapping, where bit 0 is a1 and bit 63 is h8.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Bitboard.type
Members list
Value members
Concrete methods
Creates a bitboard from a raw 64-bit integer.
Creates a bitboard from a raw 64-bit integer.
Attributes
Creates a bitboard with a single square occupied.
Creates a bitboard with a single square occupied.
Attributes
Extensions
Extensions
Bitwise AND (Intersection)
Bitwise AND (Intersection)
Attributes
Logical Right Shift (Zero Fill)
Logical Right Shift (Zero Fill)
Attributes
Bitwise XOR (Symmetric Difference)
Bitwise XOR (Symmetric Difference)
Attributes
Adds a square to the bitboard.
Adds a square to the bitboard.
Attributes
Checks if a square is occupied on this bitboard.
Checks if a square is occupied on this bitboard.
Attributes
Returns the number of occupied squares (using JVM POPCNT intrinsic).
Returns the number of occupied squares (using JVM POPCNT intrinsic).
Attributes
Returns true if the bitboard has no occupied squares.
Returns true if the bitboard has no occupied squares.
Attributes
Removes a square from the bitboard.
Removes a square from the bitboard.
Attributes
Exposes the underlying Long value.
Exposes the underlying Long value.