示例#1
0
        static void Main(string[] args)
        {
            //bool runGame = true;
            GameMode GameMode;

            while (true)
            {
                // Set true for two player game
                bool runGame = true;
                GameMode = ShowStartScreenAndChoosePlayers();
                if (GameMode == GameMode.Exit)
                {
                    runGame = false;
                    Console.Clear();
                    break;
                }
                while (runGame)
                {
                    var game = new Game(GameMode);
                    game.Countdown();
                    runGame = game.Run();
                }
            }
        }