A Framework for Reinforcement Learning in Games
Actively maintained. Last release 4 months ago, commits in 14 of the last 26 weeks. A safe choice.
pip install open-spielOpenSpiel: A Framework for Reinforcement Learning in Games
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.
Index
Please choose among the following options:
- Installing OpenSpiel (for Linux and MacOS; see separate Windows Installation instructions.)
- Introduction to OpenSpiel
- API Overview and First Example
- API Reference
- Overview of Implemented Games