source/client/Controller.py
def play(self):
        """Send the server the current set of played cards

         player_index and visible_scards needed for rules checking in games with Shared_Board.
         """
        if self._state.turn_phase != Turn_Phases[3]:
            self.note = "You can only play on your turn after you draw"
            return
        try:
            if self._state.rules.Shared_Board:
                # Some rule checking on runs is performed in self.processCards (called before this).
                self._state.playCards(self.prepared_cards, self.processed_full_board)
            else:
                self._state.playCards(self.prepared_cards, {})
            self.clearPreparedCards()
            self.handleEmptyHand(False)
            self.sendPublicInfo()
        except Exception as err:
            self.note = "{0}".format(err)
            return
        finally:
            # In Liverpool and other shared_board games reset Aces and Wilds in prepared cards, so they can be reassigned.
            if self._state.rules.Shared_Board:
                self.resetPreparedWildsAces()
Send the server the current set of played cards

         player_index and visible_scards needed for rules checking in games with Shared_Board.
         
Send the server the current set of played cards
player_index and visible_scards needed for rules checking in games with Shared_Board.
Send the server the current set of played cards player_index and visible_scards needed for rules checking in games with Shared_Board .
def play(self):
        if self._state.turn_phase != Turn_Phases[3]:
            self.note = "You can only play on your turn after you draw"
            return
        try:
            if self._state.rules.Shared_Board:
                self._state.playCards(self.prepared_cards, self.processed_full_board)
            else:
                self._state.playCards(self.prepared_cards, {})
            self.clearPreparedCards()
            self.handleEmptyHand(False)
            self.sendPublicInfo()
        except Exception as err:
            self.note = "{0}".format(err)
            return
        finally:
            if self._state.rules.Shared_Board:
                self.resetPreparedWildsAces()
def play ( self ) : if self . _state . turn_phase != Turn_Phases [ 3 ] : self . note = "You can only play on your turn after you draw" return try : if self . _state . rules . Shared_Board : self . _state . playCards ( self . prepared_cards , self . processed_full_board ) else : self . _state . playCards ( self . prepared_cards , { } ) self . clearPreparedCards ( ) self . handleEmptyHand ( False ) self . sendPublicInfo ( ) except Exception as err : self . note = "{0}" . format ( err ) return finally : if self . _state . rules . Shared_Board : self . resetPreparedWildsAces ( )
Send the server the current set of played cards
player_index and visible_scards needed for rules checking in games with Shared_Board.
Send the server the current set of played cards player_index and visible_scards needed for rules checking in games with Shared_Board .
"""Send the server the current set of played cards

         player_index and visible_scards needed for rules checking in games with Shared_Board.
         """ # Some rule checking on runs is performed in self.processCards (called before this). # In Liverpool and other shared_board games reset Aces and Wilds in prepared cards, so they can be reassigned.
self