msgid "The program will look like the previous one, but before you shoot, use the instruction <c/><a cbot|move>move</a>();<n/> in order to get close enough."
msgstr "Das Programm wird dem aus der letzten Übung ähneln. Sie müssen vor dem Schuss nur noch durch <c/><a cbot|move>move</a>();<n/> nahe genug an die Spinne heranfahren."
msgid "The question is just how many meters the bot must move. The instruction <code><a cbot|dist>distance</a>( , )</code> calculates the distance between two positions. In this case, we need to know the distance between the bot and the target. The position of the target is given by <code>item.position</code>, the position of the bot is given by <code>position</code>. The distance between the bot and the target is given by <code><a cbot|dist>distance</a>(position, item.position)</code>. The range of a fireball cannon is 40 meters. In order to get close enough, the bot must move forward <code><a cbot|dist>distance</a>(position, item.position)-40</code> meters. The following line will do this:"
msgstr "Die Frage ist nun, wie viele Meter der Roboter fahren muss. Die Anweisung <code><a cbot|dist>distance</a>( , )</code> berechnet den Abstand zwischen zwei Punkten. In diesem Fall brauchen wir die Distanz zwischen dem Roboter und der Spinne. Die Position der Spinne ist gegeben durch <code>item.position</code> und die Position des Roboters ist gegeben durch <code>position</code>. Den Abstand zwischen Roboter und Spinne erhält man durch <code><a cbot|dist>distance</a>(position, item.position)</code>. Die Reichweite eines Feuerballs ist 40 Meter. Um also nahe genug an die Spinne heranzukommen, muss sich der Roboter um <code><a cbot|dist>distance</a>(position, item.position)-40</code> Meter bewegen. Folgende Zeile übernimmt das:"