예제 #1
0
        static void Main(string[] args)
        {
            Console.Title = "Console Minesweeper";

            ConsoleInput.ResetColours();
            Console.Clear();

            //  Game Width
            int width = ConsoleInput.GetNumberValue("Please input the game grid width: ", 5, 50);
            int height = ConsoleInput.GetNumberValue("Please input the game grid height: ", 5, 50);

            //  Go!
            Game game = new Game(width, height);
            ConsoleInput.SetGameReference(game);
            game.Play();
        }