When a player wins, they gain two cards and the losing player loses a card.  I commented out the war stuff in main and made player 2 win in a war just so it would run.