Translation

.level_help_tab_statement_graph_code_example
example:
7/100
Context English Russian State
.level_help_tab_general_objectives_star2_advice
To achieve this objective, your program should take as few steps as possible to achieve the final result. In other words, it should go as fast as possible.
Для достижения этой цели ваша программа должна сделать как можно меньше шагов для достижения конечного результата. Другими словами, это должно идти как можно быстрее.
.level_help_tab_general_objectives_star3
star 3:
звезда 3:
.level_help_tab_general_objectives_star3_objective
code length secondary objective
вторичная цель - длина кода
.level_help_tab_general_objectives_star3_advice
To achieve this objective, your program should be as few lines as possible (line numbers are displayed to the left of the heroes' instructions).
Для достижения этой цели в вашей программе должно быть как можно меньше строк (номера строк отображаются слева от инструкций героев).
.level_help_tab_statement_code_example
code example:
пример кода:
.level_help_tab_statement_graph_code_example
example:
пример:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$если%% позволяет выполнять инструкции, только если данное условие выполняется.
.level_help_tab_if_statement_2
You could read the above example as "If the square to the right of me is a wall, then go to the left. Otherwise go to the right".
Вы могли бы прочитать приведенный выше пример как «Если квадрат справа от меня - стена, то идти налево. В противном случае идти направо».
.level_help_tab_if_statement_3
%%statement branching-statement$if%% checks if the condition is true in which case it will run the instructions inside it (instructions to the right of the vertical gray line). Otherwise it will run the instructions inside the %%statement branching-statement$else%% if there is one.
%%statement branching-statement$если%% проверяет, выполняется ли условие, и в этом случае он будет выполнять инструкции внутри него (инструкции справа от вертикальной серой линии). В противном случае он будет выполнять инструкции внутри оператора %%statement branching-statement$иначе%%, если он есть.
.level_help_tab_if_statement_4
%%statement branching-statement$else%% is not initially part of the %%statement branching-statement$if%%. To make it appear, drag any instruction over the %%statement branching-statement$if%%.
If you remove all the instructions inside %%statement branching-statement$else%%, it will disappear.
%%statement branching-statement$иначе%% изначально не является частью %%statement branching-statement$если%%. Чтобы он появился, перетащите любую инструкцию поверх %%statement branching-statement$если%%.
Если вы удалите все инструкции внутри %%statement branching-statement$иначе%%, то он исчезнет.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Нажмите на знак плюс, чтобы добавить другие условия.
Context English Russian State
.level_help_tab_nearest_function_1
%%statement assign-statement$nearest%% searches for the nearest object of a given type (%%icon icon-cauldron$%% cauldron, %%icon icon-egg$%%egg etc.) and puts the result in a variable.
%%statement assign-statement$ближайший%% ищет ближайший объект данного типа (%%icon icon-cauldron$%% котел, %%icon icon-egg$%%яйцо и т.п.) и помещает результат в переменную.
.level_help_tab_nearest_function_2
You could read the above example as "Memorize the nearest egg in the variable a and then go get that egg".
Вы можете прочитать приведенный выше пример как «Запомнить ближайшее яйцо в переменной a и затем взять это яйцо».
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
%%statement assign-statement$набор%% инициализирует переменную.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Вы можете прочитать приведенный выше пример как «Установить для переменной a значение 3».
.level_help_tab_statement_code_example
code example:
пример кода:
.level_help_tab_statement_graph_code_example
example:
пример:
.level_help_tab_step_function_1
%%statement action-statement$step%% says to your hero to go in a direction. If you specify multiple directions, the hero will decide randomly between these directions.
%%statement action-statement$шагнуть%% говорит вашему герою идти по направлению. Если вы укажете несколько направлений, герой будет случайным образом выбирать между этими направлениями.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
Вы можете прочитать приведенный выше пример как «Идти на один шаг влево или вправо».
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
%%statement action-statement$шагнуть%% говорит вашему герою идти по направлению.
.level_help_tab_step_once_function_2
You could read the above example as "Go one step to the right".
Вы можете прочитать приведенный выше пример как «Идти на один шаг вправо».

Loading…

Loading…

Glossary

English Russian
No related strings found in the glossary.

Source information

Context
.level_help_tab_statement_graph_code_example
Labels
No labels currently set!
Source string age
6 years ago
Translation file
src/locale/messages-ru.json, string 104