import java.util.*;

public class Game
{
    // hard coded that number of players is 2

    public Game (boolean debug)
    {
        _winningDeck = new Deck(0); // fake player id
        _debug = debug;
    }

    public final int play (Deck[] decks)
    {
        int round = 1;

        while (!decks[0].empty() && !decks[1].empty())
        {
            if (_debug)
            {
                System.out.println("\n-- Round "+round+" --");
                System.out.println(decks[0]);
                System.out.println(decks[1]);
            }

            int playerOneCard = decks[0].draw();
            int playerTwoCard = decks[1].draw();

            if (_debug)
            {
                System.out.println("Player 1 plays: "+playerOneCard);
                System.out.println("Player 2 plays: "+playerTwoCard);
            }

            if (playerOneCard > playerTwoCard)
            {
                if (_debug)
                    System.out.println("Player 1 wins the round!");

                decks[0].add(playerOneCard);
                decks[0].add(playerTwoCard);
            }
            else
            {
                if (_debug)
                    System.out.println("Player 2 wins the round!");

                decks[1].add(playerTwoCard);
                decks[1].add(playerOneCard);
            }

            round++;
        }

        if (_debug)
        {
            System.out.println("\n== Post-game results ==");
            System.out.println(decks[0]);
            System.out.println(decks[1]);
        }

        if (!decks[0].empty())
            return decks[0].score();
        else
            return decks[1].score();
    }

    private int playRound (int round)
    {
        return -1;
    }

    private Deck _winningDeck;
    private boolean _debug;
}
@@ -147,37 +147,12 @@
  = n
-ew Deck(0); // fake player id
+ull;
 %0A   
@@ -248,16 +248,323 @@
 und = 1;
+%0A        int game = 1;%0A%0A        return _winningDeck.score();%0A    %7D%0A%0A    private Deck recursiveCombat (int round, int game, Deck%5B%5D decks, int%5B%5D offsets)%0A    %7B%0A        Decks%5B%5D theDecks = new Decks%5B2%5D;%0A%0A        theDecks%5B0%5D = new Deck(decks%5B0%5D, offsets%5B0%5D);%0A        theDecks%5B1%5D = new Deck(decks%5B1%5D, offsets%5B1%5D);
 %0A%0A      
@@ -652,32 +652,32 @@
 )%0A            %7B%0A
-
                 
@@ -716,16 +716,32 @@
 +round+%22
+ (Game %22+game+%22)
  --%22);%0A 
@@ -1973,58 +1973,8 @@
 ();%0A
-    %7D%0A%0A    private int playRound (int round)%0A    %7B
 %0A   

Update Game.java