kingAttacks function

SquareSet kingAttacks(
  1. Square square
)

Gets squares attacked or defended by a king on Square.

Implementation

SquareSet kingAttacks(Square square) {
  return _kingAttacks[square];
}