private int compareHandsLo(String hand1, String hand2)
    {
        if (hand1.equals("0")) {
            return hand2.equals("0") ? 0 : 2;
        } else if (hand2.equals("0")) {
            return 1;
        }
        
        for (int i = 0; i < 5; i++) {
            if (Card.getRank(hand1.charAt(i)) > Card.getRank(hand2.charAt(i))) {
                return 2;
            } else if (Card.getRank(hand2.charAt(i)) > Card.getRank(hand1.charAt(i))) {
                return 1;
            }
        }

        return 0;
    }