Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.set_player#

Game.set_player(infoset: Infoset | str, player: Player | str) None#

Set the player at an information set.

Parameters:
  • infoset (Infoset or str) – The information set to assign to the player

  • player (Player or str) – The player to have the move at the information set

Raises:

MismatchError – If infoset is an Infoset from another game, or player is a Player from another game.