private List <Player> GetSameScoreWinners(List <Player> players) { WinConditions wc = new WinConditions(); Player tempPlayer = wc.SameScore(players[0], players[1]); if (tempPlayer == null) { List <Player> winners = new List <Player>(); winners.Add(players[0]); winners.Add(players[1]); return(winners); } return(new List <Player> { tempPlayer }); }
public void GetScore() { WinConditions winCondition = new WinConditions(); Score = winCondition.Evaluate(Cards); }