public Piece movePerform(Position origin, Position destination) { Piece p = board.RemovePiece(origin); p.MoveIncrement(); Piece capturedPiece = board.RemovePiece(destination); board.SetPiece(p, destination); if (capturedPiece != null) { capturedPieces.Add(capturedPiece); } return(capturedPiece); }