undo method
dynamic
undo()
Takeback the last half-move, returning a move Map if successful, otherwise null.
Implementation
undo() {
var move = undoMove();
return (move != null) ? makePretty(move) : null;
}
Takeback the last half-move, returning a move Map if successful, otherwise null.
undo() {
var move = undoMove();
return (move != null) ? makePretty(move) : null;
}