Skip to content
Tomáš Gavenčiak edited this page Jan 28, 2019 · 1 revision

Integration with Gambit

In gamegym.contrib.gambit there is basic integration with Gambit project game library (export Game to .efg, import computed strategy). However, gambit is only suitable for very small games (e.g. <100 states) and is not actively developed anymore.

Installing gambit in Python 3

As of 2018-12, Gambit did not work under Python 3 (see #203) and there were some problems building it with recent GCC (see #220). A fix is pending in #242. A temporary workaround until this is resolved is to use a git branch from the author of the fix:

git clone https://github.com/rhalbersma/gambit gambit-future
cd gambit-future
git checkout future
aclocal && libtoolize && automake --add-missing && autoconf && ./configure
cd src/python
python3 setup.py build
python3 setup.py install
Clone this wiki locally