import becker.robots.*;

/** A program to do random walks in a city.
 *
 *  Note that there are "magic numbers" in the way this program
 *  is written.  The city is placed with (0,0) at the center, and
 *  the RandomWalker is placed at (0,0).  But these are independent 
 *  and not connected, so if one chose to center the city at (0,0)
 *  and then put the RandomWalker somewhere other than (0,0) there
 *  would be some odd things that could happen.
 *
 *  @author Duncan Buell
 *
 *  Program written:  19 September 2007
*/
public class Main
{
  public static void main (String[] args)
  {
//
// Create a city of size 30x30 centered at (0,0).
//
    City aiken = new City(-15,-15,30,30);

//
// Create a robot at location (0,0) facing east.
//
    RandomWalker1 pam = new RandomWalker1 (aiken, 0, 0, Direction.EAST,100);
	
//
// Walk until done
//
    pam.doTheWalk(10);
//  We leave in the println statements that will be used in version 2
//    System.out.println("This took " + pam.getMoveCount() + " moves");
//    System.out.println("  and a total of " + pam.getStepCount() + " steps.");
  }
} // public class Main


