Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAP: Library of standard games/game generators #394

Open
tturocy opened this issue Oct 26, 2023 · 0 comments
Open

MAP: Library of standard games/game generators #394

tturocy opened this issue Oct 26, 2023 · 0 comments
Milestone

Comments

@tturocy
Copy link
Member

tturocy commented Oct 26, 2023

## 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.

@tturocy tturocy added this to the gambit-16.2.0 milestone Nov 3, 2023
@tturocy tturocy modified the milestones: gambit-16.2.0, gambit-16.3.0 Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant