コード例 #1
0
        static void Main(string[] args)
        {
            Console.SetWindowSize(Console.LargestWindowWidth, Console.LargestWindowHeight);
            Console.ForegroundColor = ConsoleColor.Blue;
            Console.WriteLine("\n");
            Console.WriteLine(@"

      ___           ___           ___           ___                 ___           ___           ___           ___           ___     
     /\__\         /\  \         /\  \         /\  \               /\  \         /\  \         /\__\         /\  \         /\  \    
    /::|  |       /::\  \       /::\  \       /::\  \             /::\  \       /::\  \       /:/  /        /::\  \       /::\  \   
   /:|:|  |      /:/\:\  \     /:/\:\  \     /:/\ \  \           /:/\:\  \     /:/\:\  \     /:/  /        /:/\:\  \     /:/\:\  \  
  /:/|:|__|__   /::\~\:\  \   /::\~\:\  \   _\:\~\ \  \         /::\~\:\  \   /:/  \:\  \   /:/__/  ___   /::\~\:\  \   /::\~\:\  \ 
 /:/ |::::\__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /\ \:\ \ \__\       /:/\:\ \:\__\ /:/__/ \:\__\  |:|  | /\__\ /:/\:\ \:\__\ /:/\:\ \:\__\
 \/__/~~/:/  / \/__\:\/:/  / \/_|::\/:/  / \:\ \:\ \/__/       \/_|::\/:/  / \:\  \ /:/  /  |:|  |/:/  / \:\~\:\ \/__/ \/_|::\/:/  /
       /:/  /       \::/  /     |:|::/  /   \:\ \:\__\            |:|::/  /   \:\  /:/  /   |:|__/:/  /   \:\ \:\__\      |:|::/  / 
      /:/  /        /:/  /      |:|\/__/     \:\/:/  /            |:|\/__/     \:\/:/  /     \::::/__/     \:\ \/__/      |:|\/__/  
     /:/  /        /:/  /       |:|  |        \::/  /             |:|  |        \::/  /       ~~~~          \:\__\        |:|  |    
     \/__/         \/__/         \|__|         \/__/               \|__|         \/__/                       \/__/         \|__|    

            ");
            Console.WriteLine();
            Console.WriteLine("******************************************** Welcome to Mars Rover Explorer ********************************************\n");
            Console.WriteLine("Rover Positions:\n");
            Rover roverN = new Rover();

            roverN.ReadRoverFile();
        }