Esempio n. 1
0
        public static void Run()
        {
            int restartGame = 1;

            while (restartGame == 1)
            {
                initializeGame();
                gameRoutine();
                restartGame = UI.StartNewGame();

                while (restartGame == -1)
                {
                    restartGame = UI.StartNewGame();
                }

                if (restartGame == 0)
                {
                    Console.WriteLine("We hope to see you again!");
                }
            }
        }