yasuki_core.engine.rules.effects.PlayerState#

class PlayerState(seat, stronghold, in_play, gold, honor, went_second)[source]#

A read-only view of one seat — the vocabulary a card effect reasons over: the seat’s stronghold, the cards it controls in play, and its current gold and honor.

Methods

PlayerState.__init__(seat, stronghold, ...)

PlayerState.controls(keyword, *[, other_than])

Whether the seat controls an in-play card carrying keyword, optionally excluding one card so an "another"/"other" clause can skip the card asking.

Attributes

seat

stronghold

in_play

gold

honor

went_second

holdings

The Holdings the seat controls in play.