ब्लोक्ली गेम : तालाब अनुशिक्षक   9 10

   
खिलाड़ी
 
लक्ष्य
 
0 70 0 0
तालाब
तर्क
लूप
गणित
0°70cannon(,);
बधाई हो!

  
Your solution works, but you can do better. Use 'scan' to tell the cannon how far to shoot.
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 ( );