private void attackPlaceAbove(int position, char[] boardElements, int dimension) {
        if (isPossibleToPlaceOnPreviousLine(positionAboveRight(position, dimension))
                && isPositionInRangeOnTheRight(position, dimension)
                && isBoardElementEmpty(boardElements[positionAboveRight(position, dimension)])) {
            boardElements[positionAboveRight(position, dimension)] = FIELD_UNDER_ATTACK_CHAR;
        }
        if (isPossibleToPlaceOnPreviousLine(positionAboveLeft(position, dimension))
                && isPositionInRangeOnTheLeft(position, dimension)
                && isBoardElementEmpty(boardElements[positionAboveLeft(position, dimension)])) {
            boardElements[positionAboveLeft(position, dimension)] = FIELD_UNDER_ATTACK_CHAR;
        }
    }