your_initials_in_beepers
This is an old revision of the document!
Your Initials in Beepers
Have a robot with a name of you choosing draw spell out your initials using beepers. Make the initials at least 5 beepers high. Here is an example if your initials happen to be DRS:
Here is some starter code for a new class. Feel free to rename the class or the robot.<code java>mport kareltherobot.Directions; import kareltherobot.World; /** * * @author Chris Thiel * @version Aug 19, 2019 * A Class with a main method to make your initials in beepers * */
public class DrawInitials implements Directions {
public static void main(String[] args) {
World.setDelay(50);
World.setSize(8,15);
World.setVisible();
task();
}
public static void task(){
DrawInitials lisa = new MileWalker(1, 9, North, infinity);
lisa.putBeeper();
lisa.turnLeft();
lisa.move();
lisa.turnOff();
}
}
your_initials_in_beepers.1566058283.txt.gz · Last modified: 2019/08/17 12:11 by frchris
