Пример #1
0
 public GameOfWar()
 {
     this._random = new Random();
     this._gameDeck = new StandardDeck(true);
     this._player1 = new Player("Player1");
     this._player2 = new Player("Player2");
 }
Пример #2
0
 private string DisplayDeckDEBUG(StandardDeck stack)
 {
     string result = "Cards in Main Game Deck (Reverse Order)<br />";
     while (stack.Deck.Count() > 0)
     {
         Card card = stack.Deck.Pop();
         result += String.Format("{0} - {1}<br />", card.Name, card.Value.ToString());
     }
     return result;
 }