appendUCIMove

fun appendUCIMove(move: String, initialComment: String? = null, comment: String? = null, endLineComment: String? = null, suffixAnnotations: JsReadonlyArray<Int>? = null): Node

Appends a move given as string in UCI notation (long algebraic) and returns the added node. If the node already has a child, the added move will be a variation (RAV). Returns the new node if the move is legal, or the current node if the move is illegal.