internal void GotABlackJack(Gambler player, Gambler diller) { if (IsAceOnHend(player.playerCards) & IsFigureOnHend(player.playerCards)) { MoneyService.BlackJackWinnings(player); GameProvider.NewGameSelector(player, diller); } }
private void CheckAllConditions(Gambler player, Gambler diller) { if (player.PlayerPoint > diller.PlayerPoint & !player.IsLoose) { Console.WriteLine($"{player.Name} Victory!!!"); MoneyService.ClasicWinnings(player); GameProvider.NewGameSelector(player, diller); return; } DillerVictory(player, diller); }
private void DillerVictory(Gambler player, Gambler diller) { if (!diller.IsLoose) { Console.WriteLine($"{player.Name} Bust! The game is over"); GameProvider.NewGameSelector(player, diller); return; } Console.WriteLine($"{diller.Name} Bust! The game is over"); MoneyService.ClasicWinnings(player); GameProvider.NewGameSelector(player, diller); }