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); }
void IPlayer.EndRound(PlayerEndGameStatus status, List <int> dealedCards) { }
public void EndRound(PlayerEndGameStatus status, List <int> dealedCards) { }