The move.canDraw in the returned object from board.playMove(... , {isMockMove : true}) and Ic.fenApply(... , "playMove" , ...) fails to take Threefold repetition into account for mocked moves.
This happens because the position is passed into a new temporal board with the current fen and the move list is lost in the process.
This bug also affectsboard.getDrawMoves()and pretty much leaves that method unusable for now.
The
move.canDraw
in the returned object fromboard.playMove(... , {isMockMove : true})
andIc.fenApply(... , "playMove" , ...)
fails to take Threefold repetition into account for mocked moves.This happens because the position is passed into a new temporal board with the current fen and the move list is lost in the process.
This bug also affects
board.getDrawMoves()
and pretty much leaves that method unusable for now.