Core
The core module provides a set of functions to manipulate the game state.
getValidatedMoves
Get validated moves for a given square.
move
Move a piece from one square to another. You are responsible for validating the move before calling this function.
getGameResult
Get the game result for a given FEN state.