Skip to main content

A Framework for Reinforcement Learning in Games (forked from OpenSpiel)

Project description

Map Games Proto: A Framework for Reinforcement Learning in Games

Original Project

Map Games Proto is a fork of OpenSpiel, maintained by LogitGames. This package is available on PyPI as map-games-proto.

OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games. OpenSpiel supports n-player (single- and multi- agent) zero-sum, cooperative and general-sum, one-shot and sequential, strictly turn-taking and simultaneous-move, perfect and imperfect information games, as well as traditional multiagent environments such as (partially- and fully- observable) grid worlds and social dilemmas. OpenSpiel also includes tools to analyze learning dynamics and other common evaluation metrics. Games are represented as procedural extensive-form games, with some natural extensions. The core API and games are implemented in C++ and exposed to Python. Algorithms and tools are written both in C++ and Python.

Installation

Install from PyPI:

pip install map-games-proto

Note: The package is installed as map-games-proto but imported as open_spiel:

import open_spiel

OpenSpiel visual asset

Index

Please choose among the following options:

For a longer introduction to the core concepts, formalisms, and terminology, including an overview of the algorithms and some results, please see OpenSpiel: A Framework for Reinforcement Learning in Games.

For an overview of OpenSpiel and example uses of the core API, please check out our tutorials:

Citation

This project is forked from OpenSpiel. If you use this framework in your research, please cite the original OpenSpiel paper:

@article{LanctotEtAl2019OpenSpiel,
  title     = {{OpenSpiel}: A Framework for Reinforcement Learning in Games},
  author    = {Marc Lanctot and Edward Lockhart and Jean-Baptiste Lespiau and
               Vinicius Zambaldi and Satyaki Upadhyay and Julien P\'{e}rolat and
               Sriram Srinivasan and Finbarr Timbers and Karl Tuyls and
               Shayegan Omidshafiei and Daniel Hennes and Dustin Morrill and
               Paul Muller and Timo Ewalds and Ryan Faulkner and J\'{a}nos Kram\'{a}r
               and Bart De Vylder and Brennan Saeta and James Bradbury and David Ding
               and Sebastian Borgeaud and Matthew Lai and Julian Schrittwieser and
               Thomas Anthony and Edward Hughes and Ivo Danihelka and Jonah Ryan-Davis},
  year      = {2019},
  eprint    = {1908.09453},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  journal   = {CoRR},
  volume    = {abs/1908.09453},
  url       = {http://arxiv.org/abs/1908.09453},
}

Original Repository

This is a fork of the original OpenSpiel repository by DeepMind.

Versioning

We use Semantic Versioning.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

map_games_proto-1.6.8.1.tar.gz (5.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

map_games_proto-1.6.8.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

map_games_proto-1.6.8.1-cp311-cp311-macosx_15_0_arm64.whl (10.8 MB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

File details

Details for the file map_games_proto-1.6.8.1.tar.gz.

File metadata

  • Download URL: map_games_proto-1.6.8.1.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for map_games_proto-1.6.8.1.tar.gz
Algorithm Hash digest
SHA256 9fd2ce5f0a088460ab372d7bc52d755518e0567c9c51d7b67b93f01cdc47eeca
MD5 215a9ce8e5c5e629b3f6bde3f49ca179
BLAKE2b-256 cfdabd3b03548c229c067f1337d395480ceba88e62ffd9715ae5960b88e775db

See more details on using hashes here.

File details

Details for the file map_games_proto-1.6.8.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for map_games_proto-1.6.8.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7dad181ae8587e0dc09e2005ea1abe546a8f735d807d96068326ebbb60279193
MD5 78bc298b2e2582341f7c092f9230b659
BLAKE2b-256 4d8e81645fb420095c0303e5f68811bcf05cf91b664ef3d4ca61046f81d83df5

See more details on using hashes here.

File details

Details for the file map_games_proto-1.6.8.1-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for map_games_proto-1.6.8.1-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3ef08c92e1d92b61a59e9e965507ad371027c291d26441b7abfe2166b740b25c
MD5 49c84a47e0151651291abbad975cc62d
BLAKE2b-256 35a1fc5eeabba963a18c428b90a57d0248bf967a90d803b1da27e6e66b4ab916

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page