backward method

PlayedMove backward()

Goes one step back through the history and returns the previous move.

Implementation

PlayedMove backward() {
  final PlayedMove move = undo();
  futureMoves.add(move);
  return move;
}