chess_lib library

Classes

ChessGameState
Immutable Chess Game State. Can load from a fen with ChessGameState.fromFen, or create a new board with ChessGameState.initialBoardPosition. From and position, get valid moves with the moves accessor.
ChessMove
MoveList

Functions

parseLongAlgebraicNotation(String notation, ChessGameState state) ChessMove
parseMoveList(ChessGameState startingState, List<String> moveList) MoveList
parseMoveString(String moveString, ChessGameState state) ChessMove