/// <summary> /// Constructor for the computer player class /// </summary> /// <param name="player2"></param> /// <param name="player3"></param> /// <param name="player4"></param> /// <param name="difficultyLevel"></param> /// <param name="TarneebGame"></param> public ComputerPlayer(Player player2, Player player3, Player player4, String difficultyLevel, TarneebGame TarneebGame) { tarneebGame = TarneebGame; players = new List <Player>(); players.Add(player2); players.Add(player3); players.Add(player4); difficulty = difficultyLevel; foreach (Player player in this.players) { SetBid(player); bidTrump(player); } }
public void StartGame(object sender, EventArgs e) { _ = new TarneebGame(this.Main); }
/// <summary> /// Constructor for the trick class /// </summary> /// <param name="TarneebGame"></param> /// <param name="scoreBoard"></param> public Trick(TarneebGame TarneebGame, ScoreBoard scoreBoard) { tarneebGame = TarneebGame; TrickNum = 1; ScoreBoard = scoreBoard; }