LeeRoy wrote:
I will programming an backgammon AI and I would like test it against gnubg.Do you know where I can find an technical documentation whose help me to connect a program with gnubg?
I think I would have just compiled the essential files from gnubg as a library. As a final benchmark I would have made a head-to-head test cubeless money game with no lookahead. Should be quite simple to code.
Of course you can use the external player interface as well. The I would have a GNU Backgammon session running as a master and connected my own AI as a slave. This connection uses raw TCP sockets.
A last option could be to use the Python interface. I'm not sure how I would have done exactly this connection ... I have to think ....
I'm not sure what technique you will use for your AI, but if you're using neural nets, I will strongly suggest that you also find a simpler and faster way to benchmark you AI. A head-to-head session will take several hundred thousand games to play to find the best AI when they're close. (That takes a long time.) I have successfully used a database of positions and the corresponding best move as a benchmark for my neural nets. (It's the same database as Joseph used with his training, big thanks to him.)
-Øystein
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
