internal void DillerTurn(Gambler diller, Gambler player)
        {
            if (diller.PlayerPoint < GamblerConst.DillerMaxHandPoint)
            {
                GameProvider.NextTurnGame(diller, player);
                return;
            }

            diller.IsLoose = VictoryConditions.IsLosing(diller);
            diller.EndTurn = true;
            GameProvider.ExitGame(player, diller);
        }
Exemple #2
0
        internal static void NextTurnGame(Gambler player, Gambler diller)
        {
            player.playerCards.Add(_cardService.AddCard(ref Game.deck));
            Console.Clear();
            _cardService.ShowCards(player);
            _cardService.ShowCards(diller);

            if (VictoryConditions.IsAceOnHend(player.playerCards) & player.Style == HandStyle.Soft & !player.EndTurn)
            {
                _gamblerService.ChangeHand(player, diller);
                _cardService.ShowCards(player);
            }
            OneTurn(player, diller);
        }
 internal void DillerGame(Gambler player, Gambler diller)
 {
     player.EndTurn = true;
     player.IsLoose = VictoryConditions.IsLosing(player);
     DillerTurn(diller, player);
 }