Chadwick Gambit: Software Tools for Game Theory

pygambit.gambit.Game.reveal#

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

Reveals the move made at infoset to player.

Revealing the move modifies all subsequent information sets for player such that any two nodes which are successors of two different actions at this information set are placed in different information sets for player.

Revelation is a one-shot operation; it is not enforced with respect to any revisions made to the game tree subsequently.

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

  • player (Player or str) – The player to which to reveal the move at this information set.

Raises:

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