private void Form2_Load(object sender, EventArgs e) { DeckCards.Text = _gameService.GetRemainingCards().ToString(); if (_player is CardDicePlayer) { RollBtn.Visible = true; PickCardBtn.Visible = true; OpenCards.Visible = true; } if (_player is CardPlayer) { PickCardBtn.Visible = true; OpenCards.Visible = true; } if (_player is DicePlayer) { RollBtn.Visible = true; } player_fullname_lbl.Text = _player.FullName; }
public void Can_Create_Game_With_Deck() { var deckCardsNumber = _deckersMeeting.GetRemainingCards(); Assert.IsTrue(deckCardsNumber > 1); }