yasuki_core.engine.rules.decisions.DiscardToHandSize#

class DiscardToHandSize(seat, candidates, count)[source]#

The seat must discard count cards from hand to reach the maximum hand size, taken at the end of its turn. The candidates are the seat’s current hand.

Attributes:
countint

How many cards the seat must discard.

Methods

DiscardToHandSize.__init__(seat, candidates, ...)

DiscardToHandSize.accepts(response)

Return whether response is a structurally well-formed answer to this request — the right shape, drawn from candidates.

Attributes

count