Skip to content

Conversation

@AlekseyGoldberg
Copy link
Contributor

Привет! Я Жижин Алексей. Я выполнял задание итогового проекта по генерации карт


<artifactId>CreateMap</artifactId>

<properties>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мы используем Java 11, версия компилятора прописана в главном pom-файле. Эти строки можно убрать

</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>CreateMap</artifactId>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Название артефакта должно быть без заглавных букв. Используй маленькие буквы и дефисы

public static List<Point> listOfSpawn;


public CreateMap(int height, int width) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не стоит инициализировать статические поля параметрами конструктора



//задаем радиус видимости в зависимости от количества ботов
public int getView_radius() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ViewRadius стоит сделать побольше. Посмотри, пож, какие значения используются в текущих картах в директории maps/

}

//задаем радиус майнинга монет в зависимости от количества ботов
public int getMining_radius() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В название метода закралось нижнее подчеркивание, стоит убрать

@@ -0,0 +1,25 @@
map_size 6 10
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это слишком маленькие карты, их стоит сделать покрупнее. Для примерного понимания размеров смотри текущие карты

Copy link
Owner

@nypi nypi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Поправь, пожалуйста, замечания по коммитам

@AlekseyGoldberg AlekseyGoldberg requested a review from nypi December 15, 2021 08:57
@nypi nypi merged commit d223189 into nypi:master Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants