yasuki_core.engine.rules.decisions.DiscardToHandSize#
- class DiscardToHandSize(seat, candidates, count)[source]#
The seat must discard
countcards from hand to reach the maximum hand size, taken at the end of its turn. The candidates are the seat’s current hand.- Attributes:
- count
int How many cards the seat must discard.
- count
Methods
DiscardToHandSize.__init__(seat, candidates, ...)DiscardToHandSize.accepts(response)Return whether
responseis a structurally well-formed answer to this request — the right shape, drawn fromcandidates.Attributes
count