TurnleftandMove(robbie); TurnLeft2(robbie); MoveRight(robbie); MoveRightmove(robbie); LeftmoveLeft(robbie); MoveRight(robbie); MoveRightmove(robbie); LeftmoveLeft(robbie); Move4(robbie); TurnleftandMove(robbie); } private static void TurnRight(Robot r) { for(int i=0; i<3; i++) r.turnLeft(); } private static void TurnleftandMove(Robot r) { for(int i=0; i<1; i++) r.turnLeft(); Move2(r); r.turnLeft(); Move2(r); } private static void TurnLeft2(Robot r){ for(int i=0; i<2; i++) r.turnLeft(); } private static void Move4(Robot r){ for(int i=0; i<4; i++) r.move(true); } private static void Move2(Robot r){ for(int i=0; i<2; i++) r.move(true); } private static void MoveRight(Robot r){ for(int i=0; i<1; i++) Move4(r); TurnRight(r); } private static void MoveRightmove(Robot r){ for(int i=0; i<1; i++) r.move(true); TurnRight(r); Move4(r); } private static void LeftmoveLeft(Robot r){ for(int i=0; i<1; i++) r.turnLeft(); r.move(true); r.turnLeft(); }