chess-core
Toggle table of contents
1.0.0
common
Platform filter
common
Switch theme
Search in API
chess-core
chess-core
/
io.github.alluhemanth.chess.core.board
/
Board
/
getKingSquare
get
King
Square
internal
fun
getKingSquare
(
color
:
PieceColor
)
:
Square
?
Returns the
Square
occupied by the king of the given
PieceColor
, or null if not found.