|Subject:||RE: How to edit position and get best move with command line?|
|Date:||Wed, 19 Feb 2020 10:53:14 +0000|
From the command line, type ‘help set board’ to get info on how to use the command.
set board - Set up the board in a particular position. Accepted formats are:
set board =2 (sets the board to match the second position in the hint list.)
set board simple 3 2 4 0 -3 -5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2
set board 4PPgASjgc/ABMA (sets the board to match the position ID.)
set board PPGPAABAAAPHNNAAAAAA (sets the board to match the gnubg-nn position string.)
There’s options in there I didn’t know, and I’ve probably used it more than most!
In general, type ‘help’ followed the command you are interested in. You can also browse through using the GUI.
I hope this helps.
From: Bug-gnubg [mailto:bug-gnubg-bounces+ian.shaw=address@hidden]
On Behalf Of address@hidden
I'm trying to find the best move in some given positions. Every code example shows how to start a game and get the best move as game proceeds. But I want to get the best move just for a single position with given dice. Is it possible?
|[Prev in Thread]||Current Thread||[Next in Thread]|