示例#1
0
        private void MainLoop()
        {
            AddFirstPlayerStore();
            SetStoreName(0);

            //Loop Start this is the Main Gameplay Loop
            while (Convert.ToDouble(GetPlayerFranchiceCount()) > 0)
            {
                UserInterface.DisplayMainMenu(player);
                UserInterface.DisplaySupplimentalMenu(player);
                string checker;
                UserInterface.ValidateMainMenuInput(CollectUserInput(), 1, 8, player, out checker);
                int userChoice;
                userChoice = UserInterface.DecideWhatToDisplayFromMainMenu(checker, player, week);
                DecideWhatInterfacetoSendTo(userChoice);
            }
            //Loop End
            Console.WriteLine("You ran out of stores to manage your career is over");

            Console.Read();
        }