source/client/TableView.py
def compressSets(self, v_scards):
        """ HandAndFoot specific: Don't have space to display every card. Summarize sets of cards here. """

        self.compressed_info = {}
        for idx in range(len(v_scards)):
            summary = {}
            key_player = self.player_names[idx]
            melded = dict(v_scards[idx])
            for key in melded:
                set = melded[key]
                length_set = len(set)
                if length_set > 0:
                    wild_count = 0
                    for s_card in set:
                        if s_card[0] in self.wild_numbers:
                            wild_count = wild_count + 1
                    summary[key] = (length_set, (length_set - wild_count), wild_count)
            self.compressed_info[key_player] = summary
 HandAndFoot specific: Don't have space to display every card. Summarize sets of cards here. 
HandAndFoot specific: Don't have space to display every card. Summarize sets of cards here.
HandAndFoot specific : Don ' t have space to display every card . Summarize sets of cards here .
def compressSets(self, v_scards):
        self.compressed_info = {}
        for idx in range(len(v_scards)):
            summary = {}
            key_player = self.player_names[idx]
            melded = dict(v_scards[idx])
            for key in melded:
                set = melded[key]
                length_set = len(set)
                if length_set > 0:
                    wild_count = 0
                    for s_card in set:
                        if s_card[0] in self.wild_numbers:
                            wild_count = wild_count + 1
                    summary[key] = (length_set, (length_set - wild_count), wild_count)
            self.compressed_info[key_player] = summary
def compressSets ( self , v_scards ) : self . compressed_info = { } for idx in range ( len ( v_scards ) ) : summary = { } key_player = self . player_names [ idx ] melded = dict ( v_scards [ idx ] ) for key in melded : set = melded [ key ] length_set = len ( set ) if length_set > 0 : wild_count = 0 for s_card in set : if s_card [ 0 ] in self . wild_numbers : wild_count = wild_count + 1 summary [ key ] = ( length_set , ( length_set - wild_count ) , wild_count ) self . compressed_info [ key_player ] = summary
HandAndFoot specific: Don't have space to display every card.
HandAndFoot specific : Don ' t have space to display every card .
""" HandAndFoot specific: Don't have space to display every card. Summarize sets of cards here. """
self
v_scards