Blockly Games : Pond Tutor   9 10

   
Player
 
Target
 
0 70 0 0
Pond
Logic
Loops
Math
0°70cannon(,);
This opponent is also too far away to use the cannon. But you are too weak to survive a collision. Swim towards the opponent while your horizontal location is less than than 50. Then 'stop' and use the cannon.

< 50 getX ( )

stop ( );
Congratulations!

  
Your solution works, but you can do better. Use 'scan' to tell the cannon how far to shoot.