public static bool IsGameMoneyOvered(User user) { if (!MoneyLogic.IsMoneyOnBorder(user)) { return(true); } return(false); }
public void StartTheGame() { CreatePlayers(); _preparations.StartCreates(); Communication.LineToSeparate(); Communication.MoneyYouHave(_human); MoneyLogic.CheckGoal(_human); OneRound(); }
public void OneRound() { Communication.LineToSeparate(); MoneyLogic.CheckBet(_human); _preparations.CardToHand(_human); if (_preparations.MainEvent(_human)) { MoneyOvered(); return; } if (!_preparations.MainEvent(_pc)) { WinnerByPoints(); } MoneyOvered(); }
public static void PointsToWinner(User userWinner) { userWinner.Wins++; MoneyLogic.CalculateMoney(userWinner); }