Translation

.level_help_tab_statement_code_example
code example:
18/130
Context English Spanish State
.level_help_tab_general_objectives_star2_objective
run time secondary objective
objetivo secundario tiempo de ejecución
.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 lograr este objetivo, tu programa debe tomar la menor cantidad de pasos posibles para lograr el resultado final. En otras palabras, debería ir lo más rápido posible.
.level_help_tab_general_objectives_star3
star 3:
estrella 3:
.level_help_tab_general_objectives_star3_objective
code length secondary objective
objetivo secundario longitud del 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 lograr este objetivo, tu programa debe tener la menor cantidad posible de líneas (los números de línea se muestran a la izquierda de las instrucciones de los héroes).
.level_help_tab_statement_code_example
code example:
ejemplo de código:
.level_help_tab_statement_graph_code_example
example:
ejemplo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$si%% permite ejecutar instrucciones solo si cierta condición es verdadera.
.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".
Podrías leer el ejemplo de arriba como "Si el cuadrado a mi derecha es un muro, entonces ve a la izquierda. De lo contrario ve a la derecha".
.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$si%% chequea si la condición es verdadera en cuyo caso deberá ejecutar las instrucciones dentro (instrucciones a la derecha de la línea vertical gris). De lo contrario correrá las instrucciones dentro de %%statement branching-statement$si no%% de haberlas.
.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$else%% no es inicialmente parte de %%statement branching-statement$if%%. Para hacer que aparezca, arrastra cualquier instrucción sobre el %%statement branching-statement$if%%.
Si eliminas todas las instrucciones dentro de %%statement branching-statement$else%%, desaparecerá.
Context English Spanish State
.level_help_tab_listen_function_2
You could read the above example as "Wait for a hero to tell you "hey" then go right".
Podrías leer el ejemplo de arriba como "Espera a que un héroe te diga "ey" luego ve a la derecha".
.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$más cercano%% busca el objeto más cercano de un tipo dado (%%icon icon-cauldron$%% caldero, %%icon icon-egg$%% huevo etc.) y pone el resultado en una variable.
.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".
Podrías leer el ejemplo de arriba como "Memoriza el huevo más cercano en la variable a y luego ve a tomar ese huevo".
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
%%statement assign-statement$establecer%% inicializa una variable.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Podrías leer el ejemplo de arriba como "Establece la variable 'a' a '3'".
.level_help_tab_statement_code_example
code example:
ejemplo de código:
.level_help_tab_statement_graph_code_example
example:
ejemplo:
.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$ir%% indica a tu héroe que vaya en una dirección. Si especificas varias direcciones, el héroe decidirá aleatoriamente entre esas direcciones.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
Podrías leer el ejemplo de arriba como "Ve un paso a la izquierda o a la derecha".
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
%%statement action-statement$ir%% indica a tu héroe que vaya en una dirección.

Loading…

Loading…

Glossary

English Spanish
No related strings found in the glossary.

Source information

Context
.level_help_tab_statement_code_example
Labels
No labels currently set!
Source string age
6 years ago
Translation file
src/locale/messages-es.json, string 103