import java.util.*;

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

    public Game (boolean debug)
    {
        _winningDeck = null;
        _debug = debug;
    }

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

        return _winningDeck.score();
    }

    private Deck recursiveCombat (int round, int game, Deck[] decks, int[] offsets)
    {
        Decks[] theDecks = new Decks[2];

        theDecks[0] = new Deck(decks[0], offsets[0]);
        theDecks[1] = new Deck(decks[1], offsets[1]);

        while (!decks[0].empty() && !decks[1].empty())
        {
            if (_debug)
            {
                System.out.println("\n-- Round "+round+" (Game "+game+") --");
                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();

        return -1;
    }

    private Deck _winningDeck;
    private boolean _debug;
}
@@ -418,17 +418,16 @@
     Deck
-s
 %5B%5D theDe
@@ -440,17 +440,16 @@
 new Deck
-s
 %5B2%5D;%0A%0A  
@@ -576,25 +576,27 @@
  (!decks%5B0%5D.
-e
+isE
 mpty() && !d
@@ -603,17 +603,19 @@
 ecks%5B1%5D.
-e
+isE
 mpty())%0A
@@ -1865,136 +1865,19 @@
     
-if (!decks%5B0%5D.empty())%0A            return decks%5B0%5D.score();%0A        else%0A            return decks%5B1%5D.score();%0A%0A        return -1
+return null
 ;%0A  

Update Game.java