Translation

.level_help_tab_statement_graph_code_example
example:
9/100
Context English Esperanto 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.
Por atingi ĉi tiun celon, via programo devas fari kiel eble plej malmultajn paŝojn por atingi la finan rezulton. Alivorte, ĝi devus iri kiel eble plej rapide.
.level_help_tab_general_objectives_star3
star 3:
Stelo 3:
.level_help_tab_general_objectives_star3_objective
code length secondary objective
kodlongo malĉefa celo
.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).
Por atingi ĉi tiun celon, via programo devus havi kiel eble plej malmultaj linioj (liniaj nombroj estas montrataj maldekstre de la instrukcioj de la herooj).
.level_help_tab_statement_code_example
code example:
ekzemplo de kodo:
.level_help_tab_statement_graph_code_example
example:
ekzemplo:
.level_help_tab_if_statement_1
%%statement branching-statement$if%% allows to run instructions only if a given condition is true.
%%statement branching-statement$if%% permesas ruli instrukciojn nur se donita kondiĉo veras.
.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".
Oni povus legi la supran ekzemplon kiel "Se la kvadrato dekstre de mi estas muro, tiam iru maldekstren. Alie iru dekstren".
.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$if%% kontrolas ĉu la kondiĉo veras, tiukaze ĝi ruligos la instrukciojn ene de ĝi (instrukcioj dekstre de la vertikala griza linio). Alie ĝi ruligos la instrukciojn ene de la %%statement branching-statement$else%% se ĝi ekzistas.
.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%% komence ne aperas en la %%statement branching-statement$if%%. Por ke ĝi aperu, trenu ajnan instrukcion super la %%statement branching-statement$if%%.
Se vi forigas ĉiujn instrukciojn ene de %%statement branching-statement$else%%, ĝi malaperos.
.level_help_tab_if_statement_6
Click on the plus sign to add other conditions.
Alklaku la plus-signon por aldoni aliajn kondiĉojn.
Context English Esperanto 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$nearest%% serĉas la plej proksiman objekton de difinita tipo (%%icon icon-cauldron$%% kaldrono, %%icon icon-egg$%%ovo ktp.) kaj metas la rezulton en variablo.
.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".
Oni povus legi la ĉi-supran ekzemplon kiel "Enmemorigu la plej proksiman ovon en la variablo a, kaj tiam iru preni tiun ovon".
.level_help_tab_set_function_1
%%statement assign-statement$set%% initializes a variable.
%%statement assign-statement$set%% pravalorigas variablon.
.level_help_tab_set_function_2
You could read the above example as "Set the variable a to 3".
Oni povus legi la supran ekzemplon kiel "Agordu la variablon a al 3".
.level_help_tab_statement_code_example
code example:
ekzemplo de kodo:
.level_help_tab_statement_graph_code_example
example:
ekzemplo:
.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$step%% diras al via heroo iri direkte. Se vi specifas plurajn direktojn, la heroo decidos hazarde inter ĉi tiuj direktoj.
.level_help_tab_step_function_2
You could read the above example as "Go one step to the left or to the right".
Oni povus legi la supran ekzemplon kiel "Iru unu paŝon maldekstren aŭ dekstren".
.level_help_tab_step_once_function_1
%%statement action-statement$step%% says to your hero to go in a direction.
%%statement action-statement$step%% diras al via heroo iri direkte.
.level_help_tab_step_once_function_2
You could read the above example as "Go one step to the right".
Oni povus legi la supran ekzemplon kiel "Iru unu paŝon dekstren".

Loading…

Loading…

Glossary

English Esperanto
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-eo.json, string 104