- Status
- In development
- Kind
- Python library
- Licence
- Open source: the licence ships with the package.
What it is
gnubg is a native Python extension module that wraps the GNU Backgammon engine, so a Python 3 script can call the same position analysis and cube decision routines as the GNU Backgammon program.
Alpha: the API will keep changing on the way to a stable release.
- Position classification, and board and position ID conversions.
- Monte Carlo rollouts and equity lookups.
- Python 3.8 to 3.13.
Install
pip install gnubg
