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.4.tar.gz (4.2 MB view details)

Uploaded Source

Built Distributions

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

open_spiel-1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

open_spiel-1.4-cp312-cp312-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

open_spiel-1.4-cp312-cp312-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

open_spiel-1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

open_spiel-1.4-cp311-cp311-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

open_spiel-1.4-cp311-cp311-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

open_spiel-1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

open_spiel-1.4-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

open_spiel-1.4-cp310-cp310-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

open_spiel-1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

open_spiel-1.4-cp39-cp39-macosx_11_0_arm64.whl (4.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

open_spiel-1.4-cp39-cp39-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

open_spiel-1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

open_spiel-1.4-cp38-cp38-macosx_10_9_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: open_spiel-1.4.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for open_spiel-1.4.tar.gz
Algorithm Hash digest
SHA256 e7cd91557b32c40209bbf3ba02518fa9f4ffa08f78a36da688d531dbabb53ab1
MD5 3c8ea07a3faf8eb5050f1d433f7950e8
BLAKE2b-256 2f84e35f2d39ca661ca4100665f2c088f9b094409c95eb48779c53d1db6d76aa

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 654c0b68cfeedac673372bdc9ab641f02ed3498f1d2b4a8bea062ad79ba369f7
MD5 edc35d60a4aec97f4380418d4a4778f9
BLAKE2b-256 7c7ac671abb5964a5e9d4a093154a58bfbedf0e5ce34c9270906a6d4559ec2b1

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9e5cbd6d16060d99e56624fab72a7131c937e8de46289baa778b67b4d5e07ec
MD5 8bdc6dc5d2eabcaf47113c7f02a5a60c
BLAKE2b-256 bf9e502bb9387340c2253b3524509741ac4336a70d7e11711f3955fff364ca7b

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d8d20c628e438b99197e3cca18db7ea86c21fb02381d24fb325b2f78c76727c
MD5 6aa94e63cfa42b5233038bbf63c7e5a6
BLAKE2b-256 f30023c74833640e0184c16f2165990dc89506d6c42a6dda6fb6b8521c7c31ff

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6eb86c02ae7db6d215d0dbae560281c9cfe36a7b9795b57d26c93732667fb30
MD5 10aa5cae139851ef3b4f2336859f4256
BLAKE2b-256 7ab7553c09b0c76458e8478ce5b04e30a480a1bc8f77ac3109057769140d5094

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd34fa66e9760262dd0d9e1f8e9e5700cc304f62518b647386b01f22fbf8e977
MD5 033e372a2477d7520b10fadba37e54d8
BLAKE2b-256 55cd2aff145e74265e1779575d5682084e2f904656d8f88b88bbc489725c72e1

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 044ee55b5bd4fdd6652616ed3c1d26146d89eb6a2a74391dd2e5788ea49e923c
MD5 b6a3974ccb1c131127788e185b6f2bbc
BLAKE2b-256 832244f3ba5084d21c515ad9aa198c0f799d87d359633a4aaae7eca2812bf047

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4ecb5e41e7a1d7681c101cb61ee6d597646f829dc5aa8f0c74c7962988cb5a4
MD5 767488c3927f4bafd2d6e4ee6508900c
BLAKE2b-256 391e8fda099bdcb8dd4537061769e2b00f5c65376b11d157355cae3b515f9fb0

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f1cf142ed3c85b6c3035c8144504d5ea97bce6cdf1a2b0730b64e3c1174d6725
MD5 a8bbac4108a8458268a799c5c791c734
BLAKE2b-256 0aaf0664ecfc1a4b8323ed8cc83d4df63fe4688e9f83d57626c2de8b81d38aa0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6cc997fb7ec6b2720b74ee92b3e9aa79194067c34a06290019d26d98ad1f3c01
MD5 15340f2eadee1b5ac987d05abf88d730
BLAKE2b-256 27cf87035413e0abf97bfbddcc80d0d38d65f8ccf528b121d6c65990dc134182

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 102e7df7861b531d72ce024477f7b4e63adeed213100e2ff8e4d68626b5ef445
MD5 bf49b389793cfdb8d3f7d1e6eef59d32
BLAKE2b-256 78c9d7efd6c9227fc25d575916deddb311b1544df4f5a160e305048cf14e7914

See more details on using hashes here.

File details

Details for the file open_spiel-1.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9dc6f9bb56dbd3b72fba299b4c03e3f0bf05b0243165201cd1eae50437bd1fb9
MD5 00372172d97a4c32856a98dfb69bfe4e
BLAKE2b-256 c61cac9382b374096f736b600e2f8988983b8bd5391669dba28a07ac7a0ad7ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 87f70e0d7cf3efc22aa4ed8b8f8c2adfba3434a56d7c1f8728eaae3ef092b860
MD5 8ac1b7f97fee0210107c60c3781c08a7
BLAKE2b-256 4366c8ad97058fd2e2e43f66868ed08aa2cf25f1a4edc2ba20ec37a46cc6c304

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e25dec2b3132d517dce7814fdfafe3935e6cae4e77151d61a4a57f0b9da24d18
MD5 5bd4749fd3109c47a9dc1314e796e777
BLAKE2b-256 dacc9cad88ac8020cfc01f0ff7b3ceaaa2f61ca78e39edc58a9e55dbd230391d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ffebcd4a3a96b372a252d4fe5e7549d2b1912cbab540f0f11e6f9c27a8a7a75
MD5 d7ba02195d750bf86642f5dd85497bb7
BLAKE2b-256 b355baa570090a472ef6ebb4ae80fc7717b9a07a8897da29fff4b6ee40c77994

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