Skip to content

MAP: Catalog of standard games/game generators #394

Open
8 of 10 issues completed
Open

Description

@tturocy

## Overview

A nice feature of some packages and libraries - such as R - is that they provide built-in access to "standard" example datasets. We do have a (admittedly not well curated) set of examples which are mentioned in the documentation, and which are kept in contrib/games.

The proposal is that we should package these standard games at least in pygambit, and make it easy to load them, perhaps by a submodule that allows them to be loaded by name (e.g. pygambit.examples.load('myerson_poker')). In this collection it would be lovely to include all of the extensive and strategic games from prominent game theory textbooks or important articles.

In addition, it would be useful to develop standard codes for building certain example families/classes of games - for example, Kuhn poker with varying deck sizes.

These would be quite useful to users as examples or starting points. In addition, they would be excellent to integrate within the test suite - as they would be natural games to use for testing purposes. (In fact, we might consider that as far as the test suite goes, we should either use these "standard" games or, if we need bespoke games for specific tests, either to build them using the API calls or embed the game file representation in the test suite module, rather than having separate .efg/.nfg files.)

Some discussion should be had on what's the best way to organise the calling patterns for this, to accommodate both having standard games serialised explicitly (whether in .efg, .nfg., .agg, or other formats), and functions which generate games based on payoff or structural parameters.

Activity

  1. added this to the gambit-16.2.0 milestone on Nov 3, 2023
  2. removed this from the gambit-16.3.0 milestone on Dec 5, 2024
  3. changed the title [-]MAP: Library of standard games/game generators[/-] [+]MAP: Catalog of standard games/game generators[/+] on Jan 15, 2026
  4. edwardchalstrey1 commented on Feb 5, 2026

    @edwardchalstrey1
    Member

    @tturocy I've updated the list of sub-issues above with what I believe are all the ideas so far - I think they can all be worked on in 16.X except perhaps #746 with is maybe a 17 issue and perhaps can be removed from here.

  5. removed this from the gambit-16.6.0 milestone on Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    catalogIssues that relate to the Gambit's Catalog of games

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions