pygambit.gambit.Node.player#
- Node.player#
The player who makes the decision at this node.
Returns a lazy, node-anchored view resolved on each access, so the value reflects the current state of the game even if the game is mutated after this property is read. For a terminal node, which has no player, the view is falsy and equals
None. At a chance node the view resolves to the chance player (is_chanceisTrue).Changed in version 16.7.0: Now returns a lazily-evaluated, node-anchored view rather than capturing the player at the time of access.
