Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
GameTheoryData
  • See Also
    • MatrixGame
    • TreeGame
  • Related Guides
    • Game Theory
    • See Also
      • MatrixGame
      • TreeGame
    • Related Guides
      • Game Theory

GameTheoryData["game"]

gives the mathematical game "game".

GameTheoryData["game",n]

gives an n-player version of "game" if available.

GameTheoryData[…,property]

gives the value of the property for the specified game.

GameTheoryData["class"]

gives a list of available named games in the specified "class".

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Basic Uses  
Workflow  
Applications  
Social Games  
Recreational Games  
Military Games  
Economic Games  
Mathematical Games  
Random Games  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • MatrixGame
    • TreeGame
  • Related Guides
    • Game Theory
    • See Also
      • MatrixGame
      • TreeGame
    • Related Guides
      • Game Theory

GameTheoryData

GameTheoryData["game"]

gives the mathematical game "game".

GameTheoryData["game",n]

gives an n-player version of "game" if available.

GameTheoryData[…,property]

gives the value of the property for the specified game.

GameTheoryData["class"]

gives a list of available named games in the specified "class".

Details

  • GameTheoryData is typically used to generate and learn about well-known games in game theory.
  • GameTheoryData[] gives a list of classical named games.
  • GameTheoryData["Properties"] gives a list of possible properties for games.
  • These properties are:
  • "Classes"classes where the game belongs
    "Description"description of the game
    "Source"source description for the game
  • GameTheoryData["Classes"] gives a list of possible classes for well-known games.
  • Different types of games:
  • "MatrixGame"matrix games (simultaneous, normal form)
    "TreeGame"tree games (sequential, extensive form)
  • Games in different application domains:
  • "Coordination"coordination games, e.g. Stag Hunt
    "Economics"economic games, e.g. Oligopoly
    "Military"military games, e.g. Colonel Blotto
    "Recreation"recreational games, e.g. Rock Paper Scissors
    "Social"social games, e.g. Prisoner's Dilemma
  • Games with specific properties:
  • "2Player"games that are well defined for only two players
    "3Player"games that are well defined for only three players
    "Intransitive"zero-sum games where any pairwise competition contains a cycle, e.g. Rock Paper Scissors
    "NPlayer"games that are well defined for any number of players
    "Random"games where payoffs are randomly generated
    "Symmetric"games where the payoff array is symmetric
    "ZeroSum"games where the sum of payoffs for all outcomes is zero
  • GameTheoryData["game", "class"] gives True if "game" is a member of "class" and False otherwise.

Examples

open all close all

Basic Examples  (5)

Generate the Prisoner's Dilemma game:

Generate the El Farol Bar game for 4 players:

Show the dataset:

Generate a Welfare game:

Show the dataset:

Generate a random game of 2 players:

Show the dataset:

Consult the games available on the theme of economics:

Learn more about the Inspection game:

Generate an Inspection game:

Scope  (4)

Basic Uses  (3)

Generate a Matching Pennies game:

Read the description of this game:

Find the classes the Matching Pennies game belongs to:

Visualize your own MatchingPennies:

Generate a Platonia Dilemma game of 4 players:

Show the dataset:

Generate the Pure Coordination game for 3 players:

Show the dataset:

Workflow  (1)

A typical workflow when using GameTheoryData is as follows.

Consult the games available:

Learn more about a game:

Consult the source if you want to learn more about the origins of this game:

Generate a game based on these indications:

Show the results using either MatrixGamePlot or TreeGamePlot:

Applications  (41)

Social Games  (19)

The Prisoner's Dilemma game is one of the most well-known games in game theory. It models a situation in which two players have an individual advantage in defecting, but the best global strategy is only possible when both players cooperate. Here is the description:

Generate the Prisoner's Dilemma game:

Visualize as a dataset:

The Nash equilibrium is when both players defect:

The Beer Quiche tree game is a sequential game where player A may potentially signal to player B their nature by player A's actions. Here is the description:

Generate the Beer-Quiche game:

Visualize as a tree:

Find the subgame perfect equilibrium:

The Optional Prisoner's Dilemma, as known as OPD game, is an three-actions extension of the Prisoner's Dilemma. The three actions are cooperate, defect and abstain. If either player abstains, the abstain payoff is given for all players:

Generate your own Optional Prisoner's Dilemma game:

Visualize as a dataset:

This game has an infinite number of Nash equilibria; here are some:

The Diner's Dilemma, also known as the Unscrupulous Diner's Dilemma, is the -player extension of the Prisoner's Dilemma. Here is a description:

Generate a Diner's Dilemma game with 3 players:

Visualize as a plot:

Determine the Nash equilibria of this game:

The Centipede tree game is an increasing betting game between two players. Here is the description:

Generate the Centipede game:

Visualize as a tree:

Find the subgame perfect equilibrium:

The Volunteer's Dilemma game models a situation in which each player can either make a small sacrifice that benefits everybody or instead wait in hope of benefiting from someone else's sacrifice. Here is a description:

Generate the Volunteer's Dilemma game with 4 players:

Visualize as a dataset:

Visualize as a plot:

Determine the Nash equilibria of this game:

The Pure Coordination game models a situation where two players have an equal payoff if they choose the same action. Here is a description:

Generate the Pure Coordination game with 2 players:

Visualize as a plot:

Find the Nash equilibria:

The 3 Coordination game is a variant of coordination games where the players are only rewarded when their preferred option is chosen by at least two players. Here is a description:

Generate a 3 Coordination game:

Visualize as a dataset:

An infinity of Nash equilibria may be found:

The Dangerous Coordination game is an asymmetric variant of coordination games, where one of the players has a significant disadvantage in the case of uncoordinated actions. Here is a description:

Generate the Dangerous Coordination game:

Visualize as a dataset:

Find the Nash equilibria:

The Bach or Stravinsky game, also known as the Battle of the Sexes game, is a famous coordination games. While coordinated action is rewarded, the highest payoff is given to coordination on a player's preferred action. Here is a description:

Generate the game:

Visualize as a dataset:

Find the Nash equilibria:

The Traveler's Dilemma game models two players' bids within a given range, and the payoff is the lowest bid with some bonus for the player who had the lowest bid. Here is a description:

Generate the Traveler's Dilemma game:

Visualize as a dataset:

Find the Nash equilibrium:

The Hawk-Dove game models a situation where two players desire the same resource. Here is a description:

Two shoppers want the last cookie box. They both value (2) the cookie, but want to avoid having to fight for it (1). Generate the corresponding Hawk-Dove game:

Visualize as a dataset:

Find some of the Nash equilibria:

The Welfare game models an asymmetric game where one player has an interest in coordinated action, while the other has an interest in uncoordinated outcomes. Here is the description:

Generate the Welfare game:

Visualize as a dataset:

Find the Nash equilibria:

The Contribution game is a generalization of two-player games that have three equilibria: two asymmetric equilibria in pure strategies and one symmetric equilibrium in mixed strategy.

Generate a Contribution game:

Visualize as a plot:

Find some of the Nash equilibria:

Here is the description of the Discoordination game:

Generate the Discoordination game:

Visualize as a dataset:

Find the Nash equilibrium:

The Guess Two-Thirds Average game models a situation where the goal of all players is to guess the actions of all other players:

Generate a Guess Two-Thirds Average game:

Visualize as a plot:

Find the Nash equilibrium:

The Hero game is a variation of the Bach or Stravinsky game, where the uncoordinated cases are more advantageous than the coordinated cases:

Generate a Hero game:

Visualize as a dataset:

Find 5 Nash equilibria:

The Inspection game examines the problem of verifying or not the work of an employee and serves as a simple model to conceptualize it. Here is the description:

Generate the Inspection game:

Visualize as a dataset:

The Small Pig game, also known as the Rational Pigs game, models an asymmetric volunteer's game. Here is the description:

Generate a Small Pig game:

Visualize as a dataset:

Recreational Games  (7)

Consider the description of the Rock Paper Scissors game:

Generate the Rock Paper Scissors game:

Consider the classes of this game:

Visualize as a dataset:

Find the Nash equilibrium:

Find the description of the Morra game:

Generate the Morra game:

Visualize as a dataset:

Find the description of the Matching Pennies game:

Generate a Matching Pennies game:

Visualize as a plot:

The Matching Pennies game also has a tree form:

Generate the tree Matching Pennies game:

Plot the game:

Find the description of the Chicken game:

Generate the Chicken game:

Visualize as a dataset:

Find the Nash equilibria:

Find the description of the Nash Poker game:

Generate the Nash Poker game:

Visualize by plotting:

Find the description of the Platonia Dilemma game:

Generate the Platonia Dilemma game:

Visualize as a dataset:

Find the description of the Shapley game:

Generate a Shapley game:

Visualize as a dataset:

Military Games  (4)

Find the description of the Colonel Blotto game:

Generate the Colonel Blotto game:

Visualize as a dataset:

Find the description of the Battle of the Bismarck game:

Generate the Battle of the Bismarck game:

Visualize as a dataset:

This game also has a tree form:

Visualize as a tree:

The Revolution tree game is a sequential game often used to represent the political tension between a country and its colony. Here is the description:

Generate the Revolution game:

Plot the game:

Find the subgame perfect equilibrium:

The Escalation game is a sequential game where player A may potentially signal their nature by player A's actions. Here is the description:

Generate the Prisoner's Dilemma game:

Visualize as a tree:

Find the subgame perfect equilibrium:

Economic Games  (4)

Find the description of the Cournot Oligopoly game:

Generate the Cournot Oligopoly game:

Visualize as a dataset:

Find the description of the Linear Cournot Oligopoly game:

Generate the Linear Cournot Oligopoly game:

Visualize as a dataset:

Find the description of the Bertrand Oligopoly game:

Generate the Bertrand Oligopoly game:

Visualize as a dataset:

Find the description of the Buying Stock game:

Generate the Buying Stock game:

Visualize as a dataset:

Mathematical Games  (4)

Find the description of the Compound game:

Generate a Compound game similar to a Prisoner's Dilemma game:

This is similar to the Prisoner's Dilemma game:

Find the description of the Exponential game:

Generate the Exponential game:

Visualize as a dataset:

Find the description of the Simple Inspection game:

Generate the Simple Inspection game:

Visualize as a plot:

Find the description of the Greedy game:

Generate the Greedy game:

Visualize as a dataset:

Random Games  (3)

Find the description of the Random game:

Generate the Random game:

Visualize as a dataset:

Find the description of the Zero Sum Random game:

Generate the Zero Sum Random game:

Visualize as a dataset:

Find the description of the Multivariate Random game:

Generate the Multivariate Random game:

Visualize as a dataset:

See Also

MatrixGame  TreeGame

Related Guides

    ▪
  • Game Theory

History

Introduced in 2025 (14.2)

Wolfram Research (2025), GameTheoryData, Wolfram Language function, https://reference.wolfram.com/language/ref/GameTheoryData.html.

Text

Wolfram Research (2025), GameTheoryData, Wolfram Language function, https://reference.wolfram.com/language/ref/GameTheoryData.html.

CMS

Wolfram Language. 2025. "GameTheoryData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GameTheoryData.html.

APA

Wolfram Language. (2025). GameTheoryData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GameTheoryData.html

BibTeX

@misc{reference.wolfram_2025_gametheorydata, author="Wolfram Research", title="{GameTheoryData}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/GameTheoryData.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_gametheorydata, organization={Wolfram Research}, title={GameTheoryData}, year={2025}, url={https://reference.wolfram.com/language/ref/GameTheoryData.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English