示例#1
0
 public static bool IsGameMoneyOvered(User user)
 {
     if (!MoneyLogic.IsMoneyOnBorder(user))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
        public void StartTheGame()
        {
            CreatePlayers();
            _preparations.StartCreates();
            Communication.LineToSeparate();
            Communication.MoneyYouHave(_human);
            MoneyLogic.CheckGoal(_human);

            OneRound();
        }
示例#3
0
        public void OneRound()
        {
            Communication.LineToSeparate();
            MoneyLogic.CheckBet(_human);

            _preparations.CardToHand(_human);
            if (_preparations.MainEvent(_human))
            {
                MoneyOvered();
                return;
            }

            if (!_preparations.MainEvent(_pc))
            {
                WinnerByPoints();
            }
            MoneyOvered();
        }
示例#4
0
 public static void PointsToWinner(User userWinner)
 {
     userWinner.Wins++;
     MoneyLogic.CalculateMoney(userWinner);
 }