6.1.6 Game Theory🔗

 (require conscript/game-theory) package: conscript

This module provides functions for implementing two-player simultaneous-move games, such as the Prisoner’s Dilemma or other strategic interactions between paired participants.

The game theory framework manages choice storage and retrieval for participants in groups, tracking both single-round and multi-round games.

These functions require participants to be matched into groups first (see Matchmaking).

 (require conscript/game-theory-sig) package: conscript

Defines the game-theory^ signature containing the core game operations.

 (require conscript/game-theory-vars-sig)
  package: conscript

Defines the game-theory-vars^ signature for mutable game state variables.

 (require conscript/game-theory-unit) package: conscript

Provides the implementation unit for the game theory signature.