source/client/Controller.py
def drawWithBuyOption(self):
        """ in games with buy option use this method instead of draw (above)"""
        if self._state.turn_phase != Turn_Phases[1]:
            self.note = "You can only draw at the start of your turn"
            return
        connection.Send({"action": "drawWithBuyOption"})
        # Transition phase immediately to avoid double draw
        self._state.turn_phase = Turn_Phases[3]
 in games with buy option use this method instead of draw (above)
in games with buy option use this method instead of draw (above)
in games with buy option use this method instead of draw ( above )
def drawWithBuyOption(self):
        if self._state.turn_phase != Turn_Phases[1]:
            self.note = "You can only draw at the start of your turn"
            return
        connection.Send({"action": "drawWithBuyOption"})
        self._state.turn_phase = Turn_Phases[3]
def drawWithBuyOption ( self ) : if self . _state . turn_phase != Turn_Phases [ 1 ] : self . note = "You can only draw at the start of your turn" return connection . Send ( { "action" : "drawWithBuyOption" } ) self . _state . turn_phase = Turn_Phases [ 3 ]
in games with buy option use this method instead of draw (above)
in games with buy option use this method instead of draw ( above )
""" in games with buy option use this method instead of draw (above)""" # Transition phase immediately to avoid double draw
self