Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Player#

class pygambit.gambit.Player#

A player in a Game.

Methods

Attributes

actions

Returns the set of actions available to the player at some information set.

game

Gets the Game to which the player belongs.

infosets

Returns the set of information sets at which the player has the decision.

is_chance

Returns whether the player is the chance player.

label

Gets or sets the text label of the player.

max_payoff

Returns the largest payoff for the player in any outcome of the game.

min_payoff

Returns the smallest payoff for the player in any outcome of the game.

number

Returns the number of the player in its game.

strategies

Returns the set of strategies belonging to the player.