public int IncDraws(List <int> dealedCards)
 {
     _endGameStatus = PlayerEndGameStatus.Draw;
     _playedGames++;
     _player.EndRound(_endGameStatus, new List <int>(dealedCards));
     return(++_draws);
 }
 public int IncLooses(bool busted, List <int> dealedCards)
 {
     _endGameStatus = busted ? PlayerEndGameStatus.LooserBusted : PlayerEndGameStatus.Looser;
     _playedGames++;
     _player.EndRound(_endGameStatus, new List <int>(dealedCards));
     return(++_looses);
 }
 public int IncWins(bool balckjack, List <int> dealedCards)
 {
     _endGameStatus = balckjack ? PlayerEndGameStatus.WinnerBlackJack : PlayerEndGameStatus.Winner;
     _playedGames++;
     _player.EndRound(_endGameStatus, new List <int>(dealedCards));
     return(++_wins);
 }
Пример #4
0
 void IPlayer.EndRound(PlayerEndGameStatus status, List <int> dealedCards)
 {
 }
Пример #5
0
 public void EndRound(PlayerEndGameStatus status, List <int> dealedCards)
 {
 }