boolean isAttackPlaceHorizontallyRightNotHarming(int position, char[] boardElements, int dimension, int rightPosition) {
        while (rightPosition > 0) {
            if (isPossibleToPlaceRight(position, dimension, rightPosition)
                    && isBoardElementAnotherFigure(boardElements[position + rightPosition])) {
                return false;
            }
            rightPosition--;
        }
        return true;
    }