import java.io.*;
import java.util.*;


/**
 * A driver for testing the Bender robot
 *
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public class Driver1
{
    /**
     * The entry point
     *
     * @param args  The command-line arguments (ignored)
     */
    public static void main(String[] args) throws IOException
    {
       Bender            bot;
       List<Direction>   method;
       
       

       bot = new Bender(true);

       bot.powerOn("familyroom.txt");       
       bot.setDelay(1000);
       bot.start();

       method = new ArrayList<Direction>();
       method.add(Direction.FORWARD);
       method.add(Direction.FORWARD);
       method.add(Direction.FORWARD);
       method.add(Direction.FORWARD);
       method.add(Direction.RIGHT);
       method.add(Direction.RIGHT);
       method.add(Direction.RIGHT);
       
       
       bot.execute(method);
       

       bot.stop();       
    }
    
}
