source/client/Controller.py
def sendPublicInfo(self):
        """Utility method to send public information to the server"""
        serialized_cards = {key:[card.serialize() for card in card_group] for (key, card_group) in self._state.played_cards.items()}
        status_info = self._state.getHandStatus()
        connection.Send({"action": "publicInfo", "visible_cards":serialized_cards, "hand_status":status_info})
Utility method to send public information to the server
Utility method to send public information to the server
Utility method to send public information to the server
def sendPublicInfo(self):
        serialized_cards = {key:[card.serialize() for card in card_group] for (key, card_group) in self._state.played_cards.items()}
        status_info = self._state.getHandStatus()
        connection.Send({"action": "publicInfo", "visible_cards":serialized_cards, "hand_status":status_info})
def sendPublicInfo ( self ) : serialized_cards = { key : [ card . serialize ( ) for card in card_group ] for ( key , card_group ) in self . _state . played_cards . items ( ) } status_info = self . _state . getHandStatus ( ) connection . Send ( { "action" : "publicInfo" , "visible_cards" : serialized_cards , "hand_status" : status_info } )
Utility method to send public information to the server
Utility method to send public information to the server
"""Utility method to send public information to the server"""
self