Example #1
0
        /// <summary>
        /// Takes the method for navigating through the main menu
        /// </summary>
        /// <param name="game">Import the game Engine to start the application</param>
        internal static void PrintMenu(MinesweeperEngine game)
        {
            Console.Clear();
            PrintLogo.Print();
            Console.WriteLine("\n\n");
            int indexForPrint = (CustomizeConsole.Width / 2) - ("MAIN MENU:".Length / 2);
            Console.SetCursorPosition(indexForPrint, 9);
            Console.WriteLine("MAIN MENU:");

            Navigation.MainMenuNavigation(game, new MainMenuOptions());
        }
Example #2
0
 public static void Main()
 {
     MinesweeperEngine minesweeper = new MinesweeperEngine();
     minesweeper.Run();
 }
Example #3
0
 /// <summary>
 /// Main method.
 /// </summary>
 public static void Main()
 {
     // TODO Remove useless Middleman
     IMinesweeperEngine game = new MinesweeperEngine();
     game.PlayMines();
 }