Пример #1
0
 public void Bita()
 {
     currentDeck.Clear();
     if (userAttacks)
     {
         kolod.Deliver(userDeck, computerDeck);
         userAttacks = false;
     }
     else
     {
         kolod.Deliver(computerDeck, userDeck);
         userAttacks = true;
     }
     NextMove();
 }
Пример #2
0
 public void GameOver()
 {
     gameOver = true;
     currentDeck.Clear();
     userDeck.Clear();
     computerDeck.Clear();
 }