Exemplo n.º 1
0
 public void initPlayersDecks()
 {
     for (int i = 0; i < GameDeck.Count; i++)
     {
         String card = GameDeck.ElementAt(i);
         if (i < 6)
         {
             player1_deck.Add(card);
         }
         else
         {
             player2_deck.Add(card);
         }
     }
 }
Exemplo n.º 2
0
 public void initPlayersDecks()
 {
     for (int i = 0; i < GameDeck.Count; i++)
     {
         String card = GameDeck.ElementAt(i);
         if (i < 13)
         {
             serverDeck.Add(card);
         }
         else
         {
             clientDeck.Add(card);
         }
     }
 }