msgid "Program the bot so that it will find its way without hitting the walls of the labyrinth. We suppose that you do not know the configuration of the labyrinth, but there are no bifurcations, and no dead-ends. The labyrinth is made of squares measuring 5m each."
msgstr "Programmez le <a object|bottr>robot</a> pour qu'il avance sans se cogner dans un labyrinthe. On part du principe que le labyrinthe n'est pas connu d'avance, et qu'il n'est constitué que d'un chemin, sans aucune bifurcation ni cul-de-sac. Les cases du labyrinthe sont des carrés de 5 mètres de côté."
msgid "The instruction <c/><a cbot|radar>radar</a>(Barrier, 0, 45, 0, 5);<n/> will find any <a object|barrier>barrier</a> in front of the radar that is closer than 5m. Let us take a closer look at the five parameters used:"
msgstr "L'instruction <c/><a cbot|radar>radar</a>(Barrier, 0, 45, 0, 5);<n/> teste la présence d'une <a object|barrier>barrière</a> devant le robot. Détaillons les cinq paramètres utilisés:"
msgid "Opening angle in degrees. With an opening angle of 45 degrees, barriers situated between 22.5 degrees to the left and 22.5 degrees to the right will be detected."
msgstr "Angle d'ouverture en degrés. On détecte donc les barrières situées entre 22.5 degrés à gauche et 22.5 degrés à droite."
msgid "Maximum detection range. Any barrier situated beyond <code>5</code> meters will not be detected."
msgstr "Distance maximale de détection. Au delà de <code>5</code> mètres, les barrières sont ignorées. Donc, une barrière située une case plus loin dans le labyrinthe sera ignorée, ce qui est indispensable."
msgid "To take another example, <c/><a cbot|radar>radar</a>(Barrier, 90, 45, 0, 5);<n/> will direct the radar 90 degrees to the left, in order to test if the way to the left is free."
msgstr "Par exemple, <c/><a cbot|radar>radar</a>(Barrier, 90, 45, 0, 5);<n/> dirige le radar 90 degrés sur la gauche, pour tester si le chemin est libre à gauche."
msgid "The program must only take care of one square portion of the labyrinth. You will have to execute it several times in order to arrive at the finishing pad."
msgstr "Le programme ne doit s'occuper que d'une partie carrée du labyrinthe. Vous devrez l'exécuter plusieurs fois pour arriver sur la plateforme d'arrivée."
msgid "First of all declare three <a cbot|var>variables</a> of type <code><a cbot|object>object</a></code>, that we call <code>front</code>, <code>left</code> and <code>right</code>. Variables of this type can contain the description of any object, for example of a barrier found by the radar."
msgstr "On déclare trois <a cbot|var>variables</a> de type <code><a cbot|object>object</a></code>, appelées <code>front</code>, <code>left</code> et <code>right</code>. Ce type indique une variable qui décrit l'objet trouvé."
msgid "Look for barriers in all three directions, and put the result of the <code>radar</code> instruction into the three variables defined at point 1). If the radar finds nothing, the variable will contain the value <code><a cbot|null>null</a></code>."
msgstr "On teste la présence des barrières dans les trois directions. Les objets trouvés seront contenus dans les trois variables définies au point 1). Si l'objet n'existe pas, la variable prend la valeur <code><a cbot|null>null</a></code>."
msgid "Test if the way is free in front of the bot with the instruction <code><a cbot|if>if</a></code>. If the test is true, the instructions in braces <code>{ }</code> will be executed, otherwise the execution will resume after the closing brace <code>}</code>."
msgstr "On teste s'il est possible d'avancer avec <code><a cbot|move>move</a></code> à l'aide d'un branchement conditionnel <code><a cbot|if>if</a></code>. Si le test est vrai, les instructions entre les accolades <code>{ }</code> sont exécutées. Si le test est faux, les instructions entre <code>{ }</code> sont sautées."
msgstr "Le <code><a cbot|continue>continue</a></code> stoppe l'exécution des instructions suivantes dans la boucle <code><a cbot|while>while</a></code>, car le travail à effectuer est alors terminé. On recommencera la boucle <code>while</code> depuis le début."