/*
 * This program solves a a more complicated maze escaper robot.  The maze 
 * contains clues (in the form of beepers) which tell the robot what to do.
 * A total of 20 moves is still required to escape from the maze
 *
 * @author: Russell C. Bjork
 * @version: January 9, 2006
 *
 */
 
import kareltherobot.*;
       
public class Maze2 implements Runnable, Directions
{
    public static void main(String [] args)
    {
    	World.readWorld("Maze2.world");
    	World.setVisible(true);
        World.setupThread(new Maze2());
        World.setTrace(false);
        World.showSpeedControl(true);
    }
      
    public void run()
    {
        AssistedEscaperRobot karel = new AssistedEscaperRobot(2, 6, Directions.North, 0);
        karel.escape();
		karel.turnOff();
	}
}
