public Integer pick_card( List<Card> hand, Suit trump, Suit round ) {
        Integer index;
        if ( round != null ) {
            List<Card> options = is_suit(hand, round);
            if ( !options.isEmpty() ) {
                index = randy_.nextInt( options.size() );
                return hand.indexOf( options.get(index) );
            }
        }
        else {
            return randy_.nextInt( hand.size() );
        }
        if ( trump != null ) {
            List<Card> options = is_suit(hand, trump);
            if ( !options.isEmpty() ) {
                index = randy_.nextInt( options.size() );
                return hand.indexOf( options.get(index) );
            }
        }
        return randy_.nextInt( hand.size() );
    }