pygambit.catalog.PrisonersDilemma#

class pygambit.catalog.PrisonersDilemma#

Two person Prisoner’s Dilemma game.

Description: A simple implementation of a two person Prisoner’s Dilemma game.

Examples

>>> PrisonersDilemma()  # Return the Game

Methods

Attributes

game

Cached Game instance.

game_file

Filename of the game file in catalog_game_files directory.

test_suite

Indicates if this game is included in the pygambit test suite.