public BaseGame(Random rnd, List <Player> players, DiceManager dm) { Rnd = rnd; Cards = new List <Card>(); Players = players.ToList(); Dm = dm; }
public PathGame(PathBoard board, Random rnd, int numberOfCards, List <Player> players, DiceManager dm) : base(rnd, players, dm) { PBoard = board; for (int i = 0; i < numberOfCards / 2; i++) { PunishementCard pCard = new PunishementCard("Cursed Square", "Cursed by a powerful enchantress, you started to go back.", Rnd.Next(1, 10)); Cards.Add(pCard); BlessCard bCard = new BlessCard("Blessed Square", "The gods have seen your worthy spirit and guided your steps!", Rnd.Next(1, 10)); Cards.Add(bCard); } PBoard.InsertCards(numberOfCards, Cards); }