undoMove method

void undoMove()

Implementation

void undoMove() {
  if (game.half_moves == 0) {
    return;
  }
  game.undo_move();
  notifyListeners();
}