百度前端技术学院吧 关注:5,278贴子:12,558
  • 10回复贴,共1

秀一下最后一关成绩

只看楼主收藏回复

一楼度娘


IP属地:上海1楼2017-02-18 17:04回复


    IP属地:上海2楼2017-02-18 17:04
    回复
      2025-11-30 01:44:58
      广告
      不感兴趣
      开通SVIP免广告
      ball
      .at(80,46,ball=>ball.turnRight())
      .at(80,126,ball=>ball.turnLeft())
      .at(274,126,(ball)=>{
      ball.turnBack()
      .at(80,126,ball=>ball.turnRight())
      .at(80,46,ball=>ball.turnLeft())
      .at(20,46,(ball)=>{
      ball.turnBack()
      .at(80,46,ball=>ball.turnRight())
      .at(80,126,ball=>ball.turnLeft())
      .at(274,126,ball=>ball.turnLeft())
      .at(274,38,ball=>ball.turnRight())
      .at(370,38,ball=>ball.turnRight())
      .at(370,472,ball=>ball.turnRight())
      .at(10,472,(ball)=>{
      ball.turnBack()
      .at(166,472,ball=>ball.turnLeft())
      .at(166,360,ball=>ball.turnLeft())
      .at(10,360,(ball)=>{
      ball.turnBack()
      .at(80,360,ball=>ball.turnLeft())
      .at(80,240,ball=>ball.turnRight())
      .at(270,240,ball=>ball.turnRight())
      .at(270,288,ball=>ball.turnLeft())
      .at(365,288,ball=>ball.turnLeft())
      .at(365,100,ball=>ball.turnRight())
      .at(465,100,ball=>ball.turnLeft())
      .at(465,10,ball=>ball.turnRight())
      .at(545,10,ball=>ball.turnRight())
      .at(545,100,ball=>ball.turnLeft())
      .at(620,100,ball=>ball.turnRight())
      .at(620,180,ball=>ball.turnRight())
      .at(570,180,ball=>ball.turnLeft())
      .at(570,475,ball=>ball.turnLeft())
      })
      })
      })
      })


      IP属地:上海3楼2017-02-18 17:05
      回复
        我也来秀一下:

        ball.wait(1500).at(82, 46, ball => ball.turnRight())
        .at(82, 133, ball => ball.turnLeft())
        .at(128, 133, ball => ball.turnRight())
        .at(128, 240, ball => ball.turnLeft())
        .at(200, 240, ball => ball.turnBack())
        .at(86, 240, ball => ball.turnLeft())
        .at(86, 362, ball => ball.turnRight())
        .at(15, 362, ball => ball.turnBack())
        .at(172, 362, ball => ball.turnRight())
        .at(172, 472, ball => ball.turnRight())
        .at(15, 472, ball => ball.turnBack())
        .at(372, 472, ball => ball.turnLeft())
        .at(372, 50, ball => ball.turnLeft())
        .at(300, 50, ball => ball.turnBack()
        .at(368, 50, ball => ball.turnRight())
        .at(368, 105, ball => ball.turnLeft())
        .at(468, 105, ball => ball.turnLeft())
        .at(468, 15, ball => ball.turnRight())
        .at(550, 15, ball => ball.turnRight())
        .at(550, 107, ball => ball.turnLeft())
        .at(625, 107, ball => ball.turnRight())
        .at(625, 188, ball => ball.turnRight())
        .at(570, 188, ball => ball.turnLeft())
        .at(570, 474, ball => ball.turnLeft())
        )


        4楼2017-02-18 17:19
        回复
          。。。我靠 还有turnBack()?
          我以为只有turnLeft()和turnRight()
          还用两次左转或右转实现掉头。。


          IP属地:山东5楼2017-02-20 09:56
          收起回复
            4楼的1500是刚刚好路线再优化下可以25秒


            来自Android客户端6楼2017-02-20 13:38
            回复
              厉害了


              IP属地:广东7楼2017-02-20 19:30
              回复
                玩这个东西上瘾啊。。。28s


                IP属地:河北8楼2017-02-20 21:42
                回复
                  2025-11-30 01:38:58
                  广告
                  不感兴趣
                  开通SVIP免广告
                  ball.at(53, 47, ball => ball.wait(2000))
                  ball.at(77, 47, ball => ball.turnRight())
                  ball.at(77, 127, ball => ball.turnLeft())
                  ball.at(126, 124, ball => ball.turnRight())
                  ball.at(123, 238, ball => ball.turnLeft())
                  ball.at(191, 238, ball => ball.turnBack())
                  ball.at(82, 238, ball => ball.turnLeft())
                  ball.at(82, 352, ball => ball.turnRight())
                  ball.at(13, 351, ball => ball.turnBack())
                  ball.at(91, 352, ball => ball.turnRight());
                  ball.at(91, 362, ball => ball.turnLeft());
                  ball.at(168, 362, ball => ball.turnRight());
                  ball.at(168, 467, ball => ball.turnRight());
                  ball.at(19, 467, ball => ball.turnBack());
                  ball.at(365, 467, ball => ball.turnLeft()); // A - *
                  ball.at(365, 360, ball => ball.turnLeft()); // <
                  ball.at(265, 360, ball => ball.turnRight()); // A
                  ball.at(265, 238, ball => ball.turnLeft()); // <
                  ball.at(220, 238, ball => ball.turnRight()); // A
                  ball.at(220, 130, ball => ball.turnRight()); // >
                  ball.at(267, 130, ball => ball.turnLeft()); // A
                  ball.at(267, 48, ball => ball.turnRight()); // >
                  ball.at(365, 48, ball => ball.turnRight()); // V
                  ball.at(365, 100, ball => ball.turnLeft()); // >
                  ball.at(463, 100, ball => ball.turnLeft()); // A
                  ball.at(463, 13, ball => ball.turnRight()); // > *
                  ball.at(546, 13, ball => ball.turnRight()); // V
                  ball.at(546, 100, ball => ball.turnLeft()); // >
                  ball.at(621, 100, ball => ball.turnRight()); // V
                  ball.at(621, 180, ball => ball.turnRight()); // <
                  ball.at(572, 180, ball => ball.turnLeft()); // V
                  ball.at(572, 474, ball => ball.turnLeft()); // >


                  IP属地:河北9楼2017-02-20 21:42
                  回复
                    到后面太多了 记不住就用 方向标注了一下。。。。


                    IP属地:河北10楼2017-02-20 21:43
                    回复