|
From: | Øystein Johansen |
Subject: | Re: [Bug-gnubg] search technical documentation |
Date: | Thu, 07 Feb 2008 22:50:55 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |