public void Init() { _Deck = new Deck( new[] { King.Of(CardSuit.Hearts), Jack.Of(CardSuit.Spades) } ); _Players = new TwoPlayers(); _Game = new Game(_Players); }
public void BePickedByPlayers() { var players = new TwoPlayers(); var hands = new Hands(); hands.HandOne.Add(Jack.Of(CardSuit.Spades)); hands.HandTwo.Add(King.Of(CardSuit.Hearts)); hands.To(players.PlayerOne, players.PlayerTwo); Assert.AreEqual(1, players.PlayerOne.Hand().Count); Assert.AreEqual(1, players.PlayerTwo.Hand().Count); }
public Game(TwoPlayers players) { _Players = players; }
public void Init() { _Players = new TwoPlayers(); _Round = new Round(); }