package worksheet;

import becker.robots.City;
import becker.robots.Direction;
import becker.robots.Robot;

public class AroundTheWall {

    public static void main(String[] args) {
        // feel free to change robot/city name
        City city = new City("cityfiles/aroundwall/AroundWall03.cty");
        Robot bot = new Robot(city, 3, 0, Direction.EAST);

        /*
         * Make the robot go around the wall:
         * - the robot should move until the wall is found
         * - the robot should then go up or down, and around the wall
         * - after going around the wall, the robot should end up at the same 
         *   street as where they started.
         * It is ok to assume that there is always going to be a wall in the way.
         * 
         * Your code should work without modification or crashing with all 
         * three city files (AroundWall01.cty, AroundWall02.cty, AroundWall03.cty)
         * Tips: see Robot API documentation for:
         * - Robot.frontIsClear()
         * - work in steps:
         *   a) get to the wall
         *   b) go around the end of the wall
         *   c) go to starting street #
         * 
         * Feel free to use any of the re-usable methods you've created 
         * in other exercises! e.g. turnRight(), faceDirection(), etc.
         */
            
    }
}
