private bool DisplacementIsZero(ref CellIndices displacement) { return(displacement.row == 0 && displacement.column == 0); }
private bool DisplacementIsDiagonal(ref CellIndices displacement) { return(Math.Abs(displacement.column) == Math.Abs(displacement.row)); }
private bool IsMoveInsideBoundariesValid(CellIndices move) { return(move != board.GetEmptyCellPos()); }