public void DiscardHand() { foreach (var card in _hand.ToList()) { DiscardCard(card); } }
public void TakeMulligan() { if (!CanMulligan) { return; } var mulliganSize = _hand.MulliganSize; foreach (var card in Hand.ToList()) { _library.PutOnBottom(card); } _library.Shuffle(); for (var i = 0; i < mulliganSize; i++) { DrawCard(); } HasMulligan = true; Publish(new PlayerTookMulliganEvent(this)); }