Skip to main content

A Framework for Reinforcement Learning in Games

Project description

OpenSpiel: A Framework for Reinforcement Learning in Games

Documentation Status build_and_test

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.

To try OpenSpiel in Google Colaboratory, please refer to open_spiel/colabs subdirectory or start here.

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:

If you use OpenSpiel in your research, please cite the paper using the following BibTeX:

@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},
}

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

open_spiel-1.1.1.tar.gz (3.6 MB view details)

Uploaded Source

Built Distributions

open_spiel-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

open_spiel-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

open_spiel-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

open_spiel-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

open_spiel-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

open_spiel-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

open_spiel-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

open_spiel-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file open_spiel-1.1.1.tar.gz.

File metadata

  • Download URL: open_spiel-1.1.1.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for open_spiel-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e42554ea99ff683b504129bfe0e81430dd9dbae944d663e7f8f0b5426c6fb277
MD5 66ec920168a0482eaa928de8ead9d8fb
BLAKE2b-256 f8aa712eac353b3a913db1c7037a139b3b43e830396c85d5342b00cf39c9c98a

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 757d268cf8be25585f836d117c3c35cae3ba536c6aa5ee48cbf70c20ae84504d
MD5 e90337878317712ec9d7892aff686106
BLAKE2b-256 949c005ea19b418a0ddde96edeaadeeaf2cb70e99b2205201f20a327bcda732a

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 23f9e0edc8376266fb1907d7e76a09f36ad462018e837b7edb9679ca646594d4
MD5 bbc4f35c9576d50255aaf8c808b69304
BLAKE2b-256 db9cf7384e3d3903b304dfb9a02b8c8477333e68d0de302b260a34385ed5b911

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f8956f61c4dcec2926c351fce250235f2baed2141ea82b2c45a138f98ba870b
MD5 e9bc2d80a5fe36494e4ec757d57fe50f
BLAKE2b-256 70d9edd7853d4b5aecf955c061ee63bd510e8f0ab94bd79a1d0f3a8922d5a657

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 283ef6daa05f11a137bbde8358881afc33dd765420f38e88ba2e567ee24285a9
MD5 41509da6e0bc30b4755295807f71f0ed
BLAKE2b-256 6394cd12c0a468da71b0f10d10518b04efe333fb4c3a244870e4103c88d34342

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 27a083d4b5bd7ea78f020e8bc7dc0df7dfef3f0f9a4d16c1755434e2e963a38a
MD5 9a2d5e3ac3f7e43f4a0d2b39533ff16d
BLAKE2b-256 0886c1c4e463a34fa5c3b69213ca6a00e83676862543698bf8f60ab1b0e6c782

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2ce0e230fd483e3df84ed3e6f85451598997334daa9b9ae4442973f7aa1fbf5d
MD5 05be611dc816a9b1f3b0dca56edbd36b
BLAKE2b-256 5b5214e31107d9bb064e1ba281499bfafc5284887b46cbbe7447e8a08d572fef

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6abc3a9d95a65d74bae1820b3174d72b3dfb6f54fbb640f7d3eac7b73b1b47e2
MD5 8b387867bd0290c22778cc915be55350
BLAKE2b-256 841df3bbc516f99fc90e30ce516fa0d1cf8e878410f700d80c3a9a1165e0d888

See more details on using hashes here.

File details

Details for the file open_spiel-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7107f0760a0445e09806af1ee1c58a28ba241d4b6a4e1df3c49f75b9b30397a1
MD5 eed5be7e7bfd6935c26324ba100c3d40
BLAKE2b-256 e7e961a03464807031393878879770b922154bbe6df5b2dfe4bc353370bdadc9

See more details on using hashes here.

Supported by

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