15 lines
1.2 KiB
Plaintext
15 lines
1.2 KiB
Plaintext
\b;Objectif
|
|
Aller chercher un \l;minerai de titanium\u object\titanore;, et le poser sur le \l;convertisseur\u object\convert; de manière à obtenir un \l;cube de titanium\u object\titan;.
|
|
|
|
\t;Program
|
|
You will need a new instruction:
|
|
\c;
|
|
\s;move();\n;
|
|
Instructs the bot to move forward or backward. The distance of the move is given in brackets in meters: \c;move(10);\n; moves the bot 10m forward, \c;move(-1);\n; moves the bot 1m backward.
|
|
|
|
The instructions \c;\l;turn\u cbot\turn;()\n;, \c;\l;grab\u cbot\grab;()\n; and \c;\l;drop\u cbot\drop;()\n; have already been explained in the previous exercises. If you have any questions about these instructions, click the name of the instruction underlined in blue, and an explanation of the instruction will appear.
|
|
|
|
Le \l;minerai de titanium\u object\titanore; se trouve à 20 mètres devant le robot, et le \l;convertisseur\u object\convert; se trouve à 10 mètres derrière le robot. Après avoir posé le minerai sur le convertisseur, n'oubliez pas de reculer pour que le convertisseur puisse fermer les portes et se mettre au travail.
|
|
|
|
\key;\key help;\norm; permet de revoir les instructions générales en tout temps. De même, \key;\key prog;\norm; accède aux explications du langage de programmation CBOT.
|