Ejemplo n.º 1
0
 public void WeHaveWar(Player player1, Player player2, Battle battle)
 {
     resultLabel.Text += String.Format("********** WAR **********<br />");
     for (int i = 0; i < 3; i++)
     {
         battle.AddCardsToBounty();
     }
     resultLabel.Text += battle.ShowBattleCards(battle.Bounty);
     CompareBattleCards(player1, player2, battle);
 }
Ejemplo n.º 2
0
        public void DoBattle(Player player1, Player player2, List <Card> bounty)
        {
            Battle battle = new Battle(player1, player2, bounty);

            battle.AddCardsToBounty();
            resultLabel.Text += battle.ShowBattleCards(battle.Bounty);

            CompareBattleCards(player1, player2, battle);

            //resultLabel.Text += CompareBattleCards(battle);
        }