Closed ajax333221 closed 3 years ago
Allow to initialize a game with a uci string text (similar to pgn) in initBoard()
uci
pgn
And for move input in board.playMove(), isLegalMove(), etc.
Examples:
board.playMove("e1g1")
board.playMove("b2b1q")
v5.9.0 and v5.10.0 fix the issue.
Allow to initialize a game with a
uci
string text (similar topgn
) in initBoard()And for move input in board.playMove(), isLegalMove(), etc.
Examples:
board.playMove("e1g1")
plays white short-castleboard.playMove("b2b1q")
pawn move from b2 to b1 and Queen promotion