bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problems with auto-roll and auto-play functions


From: Ian Shaw
Subject: RE: Problems with auto-roll and auto-play functions
Date: Wed, 17 Jan 2024 09:52:46 +0000

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.

 

Cheers,

Ian Shaw

 

-----Original Message-----
From: bug-gnubg-bounces+ian.shaw=riverauto.co.uk@gnu.org <bug-gnubg-bounces+ian.shaw=riverauto.co.uk@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

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]