Hi Murat,


I would expect the auto-roll and auto-play functions to only apply to the human 
player. The bot makes it's own decisions on whether to roll or move.



If you have a script that makes moves, perhaps you could approach it in another 
way.



Set the player to human.

Get a hint.

Parse the first hint and make that move. On the GUI you can select the 1st move 
and press the Move button.

Or, simply press Enter while the Hint Windows is displayed to make the first 
move on the list. (This seems only to work for chequer plays, not cube 
decisions).



In the CLI, “hint 1” shows the best move.

I haven’t found a way of passing this to the move command. I’ve tried move hint 
1, hint 1 | move, move 1 > hint, move < hint 1 etc.

But if you have a script, perhaps can extract the output of hint.





What are you trying to achieve?





While experimenting, I've found that you can also type directly onto the Hint 
window and a command line appears on it. This seems to be an undocumented 
feature/anomaly, and I’m not sure it does anything in reality.
[cid:image001.png@01DA4928.CFF57360]



Cheers,

Ian Shaw



-----Original Message-----
From: bug-gnubg-bounces+ian.shaw=riverauto.co...@gnu.org 
<bug-gnubg-bounces+ian.shaw=riverauto.co...@gnu.org> On Behalf Of MK
Sent: Tuesday, January 16, 2024 7:33 PM
To: bug-gnubg@gnu.org
Subject: Problems with auto-roll and auto-play functions



Unchecking these in the Game tab under General Options has no effect when GnuBG 
is made to play against itself in neither GUI nor CLI mode.



This makes it impossible to run scripts that let the bot make some decisions 
and let the script make some others, (perhaps among other problems in other 
situations).



This most likely very simple to fix bug was discussed in RGB probably more than 
once over the past years but I'm not sure if it was ever reported here. So, I'm 
doing it now and hoping that it will be fixed soon.



MK


  • Problems with... MK
    • RE: Prob... Bug reports for and general discussion about GNU Backgammon.
      • Re: ... MK
        • ... Bug reports for and general discussion about GNU Backgammon.
          • ... MK
            • ... MK
              • ... Bug reports for and general discussion about GNU Backgammon.
                • ... MK
                • ... Bug reports for and general discussion about GNU Backgammon.

Reply via email to