pygambit.gambit.Game.get_max_payoff#

Game.get_max_payoff(player: str) Rational#

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

Added in version 17.0.0.

Parameters:

player (str) – The label of the player.

Raises:
  • KeyError – If no player in the game has label player.

  • ValueError – If player is an empty string or all whitespace.