/** * First.java * * Title: Chapter 2 p. 5 * Description: Move a beeper from position 1,4 to position 3,5 * @author Golden Knight * @version August 19, 2019 */ import kareltherobot.*; public class First implements Directions { public static void task() { Robot karel = new Robot(1, 2, East, 0); karel.move(); // call Robot methods of the the instance called karel // to control it. karel.turnOff(); } // Main entry point public static void main(String[] args) { World.setDelay(150); World.placeBeepers(1, 4, 1); World.setVisible(); task(); } }