예제 #1
0
        static void Main(string[] args)
        {
            DisplayIntroductoryText();

            IRobot robot = RobotFactory.Create(TABLE_LENGTH, TABLE_WIDTH);

            while (true)
            {
                string command = Console.ReadLine();
                robot.ExecuteCommand(command);
            }
        }