Translation

.level_help_tab_statement_graph_code_example
example:
8/100
Context English Portuguese 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.
Para alcançar o objetivo, seu programa deve fazer o mínimo possível de passos para alcançar o objetivo final. Em outras palavras, deve rodar o mais rápido possível.
.level_help_tab_general_objectives_star3
star 3:
estrela 3:
.level_help_tab_general_objectives_star3_objective
code length secondary objective
objetivo secundário de tamanho de código
.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).
Para alcançar esse objetivo, seu programa deve ter o mínimo de linhas possíveis (o número das linhas são exibidas a esquerda das instruções dos heróis).
.level_help_tab_statement_code_example
code example:
exemplo de código:
.level_help_tab_statement_graph_code_example
example:
exemplo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$se%% permite rodar instruções somente quando alguma condição é verdadeira.
.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".
Você poderia ler o exemplo acima como "Se o quadrado da direto de mim for uma parede, ande para a esquerda, senão, ande para a direita".
.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$se%% verifica se a condição especificada é verdadeira e então roda as instruções dentro da função (instruções à direita da linha cinza). Caso contrário, irá ser rodado as instruções dentro da função %%statement branching-statement$senão%%, se ela existir.
.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$senão%% não faz parte inicialmente do %%statement branching-statement$se%%. Para fazê-la aparece, arraste qualquer instruções sob o %%statement branching-statement$se%%.
Se você remover todas instruções dentro de %%statement branching-statement$senão%%, ela irá desaparecer.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Clique no sinal de mais para adicionar outras condições.
Context English Portuguese 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$mais próximo%% procura pelo objeto escolhido (%%icon icon-cauldron$%% caldeirão, %%icon icon-egg$%% ovo, etc...) que estiver mais perto e atribui o resultado a uma variável.
.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".
você poderia ler o exemplo como "Memorize o ovo mais próximo na variável "a" e então pegue-o".
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
%%statement assign-statement$atribuir%% atribui um valor a uma variável.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Você poderia ler o exemplo acima como "Atribua o valor 3 à variável "a"".
.level_help_tab_statement_code_example
code example:
exemplo de código:
.level_help_tab_statement_graph_code_example
example:
exemplo:
.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$andar%% diz para seu herói andar em uma direção. Se você especificar várias direções, o herói decidirá aleatoriamente entre elas.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
Você pode ler o exemplo acima como "Vá para a esquerda ou vá para a direita".
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
%%statement action-statement$andar%% diz para seu herói andar em uma direção.
.level_help_tab_step_once_function_2
You could read the above example as "Go one step to the right".
Você poderia ler o exemplo acima como "Ande uma vez para a direita".

Loading…

Loading…

Glossary

English Portuguese
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-pt.json, string 104