var my_1a;
swim(0);
my_1a = 0;
while (true) {
  cannon(my_1a, scan(my_1a));
  if (loc_x() < 2) {
    swim(0);
  }
  if (loc_x() > 98) {
    swim(180);
  }
  my_1a = my_1a + 1;
  if (my_1a > 359) {
    my_1a = 0;
  }
}

池塘通关代码池塘通关代码

本站作者已申明原创,禁止转载!

文章内容属作者个人观点,不代表本站立场,如有侵权立删。

   口袋儿题库-青少儿编程自测题库