On Sat, Dec 24, 2022 at 12:46:44PM +0000, Carsten Wenderdel wrote: > 2. Separation of concerns > > If you want to play around with inputs and evaluation, develop a bot > or another GUI it would be very helpful to have a core gnubg library > without application code. For example a simple C or Python function > with match and position as input and equities as output. This is > currently missing or I can’t find it.
Regarding the last point, the external player feature allows to send commands to a gnubg instance on a TCP socket. This is not a core library approach either, but I think that in chess open source software they tend to use a similar approach, with a few GUI applications and many engines using a common communication protocol. That may be an intresting project for those interested in GUI programming. A backgammon GUI front-end, with various back-ends to communicate with gnubg, fibs, dailygammon, another GUI over a chat application, etc...
