Ejemplo n.º 1
0
        public static void BattleshipEndingTitle()
        {
            Console.ForegroundColor = ConsoleColor.Red;

            Console.Title = "Battleship Console Game";
            Console.WriteLine(); // breakline
            string battleShipGameOverGraphic =
                @"
                       
                          _______      ___      .___  ___.  _______   ______   ____    ____  _______ .______      
                         /  _____|    /   \     |   \/   | |   ____| /  __  \  \   \  /   / |   ____||   _  \     
                        |  |  __     /  ^  \    |  \  /  | |  |__   |  |  |  |  \   \/   /  |  |__   |  |_)  |    
                        |  | |_ |   /  /_\  \   |  |\/|  | |   __|  |  |  |  |   \      /   |   __|  |      /     
                        |  |__| |  /  _____  \  |  |  |  | |  |____ |  `--'  |    \    /    |  |____ |  |\  \----.
                         \______| /__/     \__\ |__|  |__| |_______| \______/      \__/     |_______|| _| `._____|
                                                                                          
   
                ";

            typeWritter(battleShipGameOverGraphic);
            Console.WriteLine(); // breakline
            Console.ForegroundColor = ConsoleColor.Yellow;
            CenterText.centerText("Press enter to continue...");
            Console.ReadKey();
            Console.Clear();
        }
Ejemplo n.º 2
0
        public static void BattleshipOpeningTitle()
        {
            Console.ForegroundColor = ConsoleColor.Blue;

            Console.Title = "Battleship Console Game";
            Console.WriteLine(); // breakline
            string battleShipStartGraphic =
                @"
                        ########     ###    ######## ######## ##       ########  ######  ##     ## #### ########  
                        ##     ##   ## ##      ##       ##    ##       ##       ##    ## ##     ##  ##  ##     ## 
                        ##     ##  ##   ##     ##       ##    ##       ##       ##       ##     ##  ##  ##     ## 
                        ########  ##     ##    ##       ##    ##       ######    ######  #########  ##  ########  
                        ##     ## #########    ##       ##    ##       ##             ## ##     ##  ##  ##        
                        ##     ## ##     ##    ##       ##    ##       ##       ##    ## ##     ##  ##  ##        
                        ########  ##     ##    ##       ##    ######## ########  ######  ##     ## #### ##        
                ";

            Console.WriteLine(battleShipStartGraphic);
            Console.WriteLine(); // breakline
            Console.ForegroundColor = ConsoleColor.Yellow;
            CenterText.centerText("Press enter to continue...");
            Console.ReadKey();
            Console.Clear();
        }