Get information about the current board given a color

has_insufficient_material(game, color)

has_castling_rights(game, color)

has_kingside_castling_rights(game, color)

has_queenside_castling_rights(game, color)

Arguments

game

A game node

color

Color to use (TRUE is White and FALSE is Black)

Value

A boolean