package L2A3; import kareltherobot.Directions; import kareltherobot.UrRobot; import kareltherobot.World; public class L2A3_Main implements Directions { public static void main(String[] args) { World.readWorld("Lesson2World1.kwld"); World.setVisible(); UrRobot thrix = new UrRobot(5, 3, North, 20); for (int turn = 0; turn < 3; turn++){ thrix.turnLeft();} for (int a = 0; a < 10 ; a++){ for (int move = 0; move < 4; move++){ thrix.move();} thrix.putBeeper(); thrix.turnLeft(); thrix.move(); thrix.move(); thrix.putBeeper(); thrix.turnLeft(); } thrix.move(); thrix.turnLeft(); } }