Пример #1
0
        public override void Initialize()
        {
            Lobby.Broadcast("Distribution of cards.");
            var decks = DeckGenerator.GenerateAllDecks();

            foreach (var client in Lobby.Info.Clients)
            {
                client.Deck = decks[0];
                decks.RemoveAt(0);
            }
            IsGenerated = true;
        }