Skip to content

Latest commit

 

History

History
 
 

go

OpenSpiel Go API

This is a basic Go API for OpenSpiel. Please note that it is currently experimental and may not work as expected. Please see the announcement thread and report any issues. Fixes and improvements are more than welcome!

See the CMakeLists.txt to see how it is setup: a dynamic shared library is created similarly to python extension (libgospiel.so). A simple go module is created in this directory using go mod init so that go tests can be run. Note that currently LD_LIBRARY_PATH must include the location of the dynamic library so that it gets properly loaded at run time.