hello,

the following code, when fed to gnubg-cli (gnubg-cliTEST20121025.exe) raises
TypeError: an integer is required.
        cubeVal = 1,
        cubeOwner = -1
        PlayerOnMove = 1
        matchLength = 0
        score = (0, 0)
        isCrawford = 0
        bgv = 0
        cubeInfo = gnubg.cubeinfo(cubeVal, cubeOwner, PlayerOnMove,
matchLength, score, isCrawford, bgv)

the same code run in interactive session within gnubg-cli works fine.

also, it appears that cubeinfo takes 2 more optional arguments (jacoby and
beavers, i suppose) which are not documented (at least help(gnubg.cubeinfo)
is silent about them). i mean, one can figure them out by trial and error,
but i think it would be nice if they were documented.

-- 
bagratte


_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to