public void EndGameCleanup(Game game) { var scope = game.StartTurn(this); Hand.Discard(DiscardPile, scope); DiscardPile.Into(Deck, scope); }
public void ShuffleDiscardPileIntoDeck(IActionScope turnScope) { DiscardPile.Into(Deck, turnScope); Deck = Deck.Shuffle(); turnScope.Publish(new DeckReplenishedEvent(turnScope)); }