On Tue, Sep 19, 2023 at 04:08:16PM -0400, Joe Mazraani wrote: > I was curious to know if it was possible to integrate GNU's web API as part > of an online Backgammon gaming platform? I don't have a strong background > in computer science, so apologies if this was covered somewhere on a GitHub > page or on your home site.
GNUbg itself doesn't have a web API. There are: - a TCP interface using a subset of the protocol used be the FIBS server. Somewhat quaint and not very well documented. - a Python interface where you use gnubg as a Python interpreter that exposes functions allowing to set a position, an analysis level and evaluate a cube decision or find the best move. I suppose (I'm not familiar with it) that it is possible to run a Flask application from it.
