Пример #1
0
        private void SetupInitialGame()
        {
            CurrentPlayerIndex = 0;
            SetupGameEvents();

            var card = DrawPile.Pop(null);

            DiscardPile.Push(card);
        }
Пример #2
0
        private void player_CardPlayed(object sender, PlayerCardEventArgs e)
        {
            // TODO: Notify Players a card was played

            DiscardPile.Push(e.Player, e.Card);
        }