appendMove

abstract fun appendMove(move: String, initialComment: String? = null, comment: String? = null, endLineComment: String? = null, suffixAnnotations: List<Int>? = null, notation: Notation = Notation.SAN): Game.Node

Appends a move 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.