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.2.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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: map_games_proto-1.6.8.2.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.2.tar.gz
Algorithm Hash digest
SHA256 70237594c65f5daf7d66eecd26e28a4be705b1f9b40b951ca245be5508b7303e
MD5 df360503e32399504dd0e96090b0e599
BLAKE2b-256 a2a47fecaa6b63b03ca85349cdcc256ff3748c7029704fc28372061800315f9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for map_games_proto-1.6.8.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a919809289ee4e7a670d8cb14722608211e45750a65b61d9b11c6c5d3a557c3d
MD5 2e0a20fc1a49f61cfee23e57bda872c7
BLAKE2b-256 45844409a6242c0f5935b5b66cfd1d529705c44529490f2fc23ac26f04ee11bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for map_games_proto-1.6.8.2-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ac7217cf8356d21e1476f44fb99a00333f20b52a2f49a5e745ec9c6ff410d5e4
MD5 ce6772fba9cdd837c7741cfa60924037
BLAKE2b-256 aaeb8fbd67d154262b73ab142915ccaed0bf83aac535469c23532d7d61a667d3

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