Example #1
0
 public void moveOneCardFromLosersDeckToWinnersDeck(Player winner)
 {
     /* After a player wins the first draw, this handles removing 1 card from the top of the losers deck
      * and adding it to the bottom of the winner's deck
      */
     if (winner == playerOne)
     {
         winner.addLosersOneCardToBottomOfWinnersDeck(playerTwo.playersDeck.First());
         winner.moveOneCardToBottomOfDeck();
         playerTwo.removeOneCardFromTopOfDeck();
     }
     else if (winner == playerTwo)
     {
         winner.addLosersOneCardToBottomOfWinnersDeck(playerOne.playersDeck.First());
         winner.moveOneCardToBottomOfDeck();
         playerOne.removeOneCardFromTopOfDeck();
     }
 }