public int playHand()
    {
        //Card c1 = h1.player1play();
        //Card c1 = h1.player1play();
        Card c1 = ((Card)this.h1.p1Queue.dequeue());
        Card c2 = ((Card)this.h1.p2Queue.dequeue());
        int hw = 0;
        //System.out.println("hw: " + hw);
        if (console)
        {
            System.out.println(" ");
            System.out.println("player 1's card: " + c1.toString());
            System.out.println("player 2's card: " + c2.toString());
        }

        if (c1.getRank() > c2.getRank())
        {
            if (console) System.out.println("Player 1 wins");
            h1.player1addCard(c2);
            h1.player1addCard(c1);
            hw = 1;
        }
        else if (c1.getRank() < c2.getRank())
        {
            if (console) System.out.println("Player 2 wins");
            h1.player2addCard(c1);
            h1.player2addCard(c2);
            hw = 2;
        }
        else
        {
            if (console) System.out.println("war");
            if (console) this.playWar(c1,c2);
            hw = 3;
        }
        return hw;
    }