This package provides a Julia wrapper for the OpenSpiel project. For more details, please refer the doc
For higher level APIs you may refer ReinforcementLearningEnvironments.jl.
- To install latest stable version:
curl -fsSL https://install.julialang.org | sh
- To install long term support version:
sudo snap install julia --classic --channel=lts
Suggested to use LTS version to avoid errors with OpenSpiel.jl
-
Open terminal and start a Julia terminal by running the executable
julia -
Open Packages
julia> ] -
Add the below command
pkg> add https://github.com/JuliaReinforcementLearning/OpenSpiel.jl.git -
To test if it installed correctly run the below code in your Julia repl
using OpenSpiel