bug-gnubg
[Top][All Lists]
Advanced

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

RE: How to edit position and get best move with command line?


From: Ian Shaw
Subject: RE: How to edit position and get best move with command line?
Date: Wed, 19 Feb 2020 10:53:14 +0000

Hi,

 

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.

Regards,

Ian Shaw

 

 

From: Bug-gnubg [mailto:bug-gnubg-bounces+ian.shaw=address@hidden] On Behalf Of address@hidden
Sent: 18 February 2020 20:38
To: address@hidden
Subject: How to edit position and get best move with command line?

 

Hi, 

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?


reply via email to

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