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.6.11.tar.gz (5.5 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.6.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

open_spiel-1.6.11-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

open_spiel-1.6.11-cp314-cp314-macosx_11_0_arm64.whl (5.4 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

open_spiel-1.6.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

open_spiel-1.6.11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

open_spiel-1.6.11-cp313-cp313-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

open_spiel-1.6.11-cp313-cp313-macosx_10_13_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

open_spiel-1.6.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

open_spiel-1.6.11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

open_spiel-1.6.11-cp312-cp312-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

open_spiel-1.6.11-cp312-cp312-macosx_10_13_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

open_spiel-1.6.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

open_spiel-1.6.11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

open_spiel-1.6.11-cp311-cp311-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

open_spiel-1.6.11-cp311-cp311-macosx_10_9_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

open_spiel-1.6.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

open_spiel-1.6.11-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

open_spiel-1.6.11-cp310-cp310-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

open_spiel-1.6.11-cp310-cp310-macosx_10_9_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: open_spiel-1.6.11.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for open_spiel-1.6.11.tar.gz
Algorithm Hash digest
SHA256 ed667d2f0a6691666dd6bc47396429bfdbff9bb71430fc178ff8bca2a9c79004
MD5 e9d58f0c0f16cf4578eedc89855646df
BLAKE2b-256 2e954e9367a1d84e557d83d61ccadad1b4dd5608edcd08a33b38f3d5e6432edd

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b84a19af4771edb50a105d54b47c562256e2890581985e01614399c4590414b9
MD5 4ab4164928b2a3bc0c9fbf4e885a1cd8
BLAKE2b-256 db43a1dd61bfa4958ccc04b52cf6f85af2d12d37c87e91be78334fd42a33e654

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 3c8f2dc1e19bda7196934f80d6de22299c68079a42de8e9c0274a7a8a77c1def
MD5 c3fb7916e715fd24c997ed10e2b6cd8f
BLAKE2b-256 7418319dbb77ff161066f409f60c0426ba1c6c8e6ed02a32126c8b0dfe262e30

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3cc259a5b400fca213aac56560b319c397ced212601191ab69a1e1bc783f7aca
MD5 7113cb9ce99fb6792b1dbf01b13b8a55
BLAKE2b-256 44907085d7d6fe7dd5bb516d6b443adf7f29b6694719ab26b47702e470b4b669

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2c9f91ebd6113b6d76f332d07107a6c98396c6c67707a72d1f85462f8f89581b
MD5 3f601fbc62f9a20670755ce50f698c92
BLAKE2b-256 a68f08b2043efad19465403ff9eaac5d03cc7b335e190847b8d55ee479e0db7d

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 1c19aa8c0c79b57915a955f6c09eadf52563dec52573122b515a87a7ee8401e2
MD5 c1338142b6c75c750ed0c366c1524fbf
BLAKE2b-256 d9c99b1f04ce933ccf6e8c897540c510822a4c1edc47fbcbd7c309519c433dd6

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae1634ab642b6d677adaa711732e439ace1d0ac77bbf7ab0cfb08c5631a3dad8
MD5 35285a7ca61c1cc3694ace955aab8ecb
BLAKE2b-256 ce6acf765db272583fa6199948a11395a1c28db54367044fa66065b809ce71fa

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a9c902c11879813cc3dedde7b3a4f917095952c17ea8c1e26d312fe853858a96
MD5 7c592dd267f96a5bfb300e856856a468
BLAKE2b-256 ae687f3c1faac14eaa7f02e6a21ea73370820bfcf68280cf08290d69c338024a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 a0de4fb658518d48ec344d9c167d58d01a160bd09035ec1422d76a95c4b6553e
MD5 ab2621ffec74340b5b4159c808cac07c
BLAKE2b-256 bdd49f0ddfad637924e08f58dcda88b3cc517ec179db576ac954f9e01114c775

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 9a88f99a2f16bd7e23f84deb684692b2fa2b75ab8a1ea128630d6d5a0dd0a2f5
MD5 44d69cac89d0eb96b2eb46fa32cacca0
BLAKE2b-256 00c435554a0316bc1c56dce8a14c54257203be9993530d502d3c5aada186d921

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83e5fea8ed3343a392e954c1a12ad3d819af8ba8ac2594f3bb3d3d42deea4026
MD5 2523ccbed804e1f45a1827d85c2926f5
BLAKE2b-256 4f048f18c43fe938e144f6496c7dd150fe4eb7bb6f12dcb561a3d4984e5cccc3

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a71735e1d71494fbe7e3a1838b5e487e7d7256cdd73f8054fa42649576c95f02
MD5 040adb878ba16fa95c6effca37195365
BLAKE2b-256 692c8b754e707d445475177e91e00ea7e80e72ce0e04ecd8258d24bc00cebcd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 0148132cdc2cc333c6584c4d8cd3a78332e3a979d84f588c8523b880bdef3a04
MD5 03e039989f5da535995ad3f108079661
BLAKE2b-256 1ef0764d45546a60a853a20d1e42f38e125c200d93af068e0bfa8d3af4b45aab

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ec43cc292ea2099feaab3d8e2419fa7083aed7d340fc55879c21439a8bd10ede
MD5 fd3663d8975cbe895192dc8262d11a7e
BLAKE2b-256 378a2c10bce8ee9dcd08665493fe020aa742fd54bb9544419f6317a7bc6f9f11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31af9b00b1b3cae38221ab4e4ba7399b9fa028a036aefe7168b3435141edcfa6
MD5 fda5c00c349759ee5f4557771b736013
BLAKE2b-256 51da936af0b809f025556d0d612234f03a7c27c0a110b91e88dbbe375532a036

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 01807d21aaa84ecb5d92651e4dec3cee5cff1d3f77381d8aaf2b56131a608b4b
MD5 5502d24622729fd1d8e592d4bd643ccb
BLAKE2b-256 abb5309360c7ebcf58ffdc2a6c5450df641b41b885edaf712ad7c4e4ff7d13cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fbf7e3998d761f0d945dd0988555bc428bce09a8941e2451fa2a83b66c831424
MD5 b94ae02163a59e600b04a0d4a8e7d1e1
BLAKE2b-256 7012fa9e8b84ddab6eed74f0365bc1a6e035b7cc696b2c906b2cb036eb939ec7

See more details on using hashes here.

File details

Details for the file open_spiel-1.6.11-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 74cf8fdd1b8f3957da1ae5bb51de8c9c398e8bb32f118219de142a851187de00
MD5 cb72169680bf9e42f0af998ddc08b67e
BLAKE2b-256 1281b27d80e2557677fc39ff575fee833483c62ebce77dd7ffd8acaddcb7f2bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34f27e15298c814cf1a72d2398e768caecc834c4525b0f6264c92c7fc1282f47
MD5 7db1eeed2be5ac3aedb06a436e991b35
BLAKE2b-256 131b1dd49625a209933465840f5726294a8e7a116c0267e6261c72c3cfd94157

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_spiel-1.6.11-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b387ce95f41a5cf31c85bff2c0f7bb8aefc772faf3b64f70cc9924a6451c0eea
MD5 2986cc221917655bc7919cc822118548
BLAKE2b-256 b08f68b843d0b8b64ebe68df8c1d182ca186135bfa9590c15277b8fbbbbf30c8

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