Example #1
0
        public void UpdateEndOfDay()
        {
            players[playerCounter % 2].UpdateTotal(GameStore.cashSpent);

            if (players[playerCounter % 2].totalProfit > 0)
            {
                players[playerCounter % 2].myGrubs += players[playerCounter % 2].dailyProfit;
            }

            UserInterface.DailySummary(gameCounter + 1, players[playerCounter % 2].dailyProfit, players[playerCounter % 2].totalProfit);
            CounterChecker();
            players[playerCounter % 2].ResetDaily();
            GameStore.CashSpentReset();
            if (multiPlayer)
            {
                playerCounter++; UserInterface.WhoseTurn(players[playerCounter % 2].myName);
            }
            Console.Clear();
            GamePlay();
        }