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:[email protected]] On Behalf Of [email protected] Sent: 18 February 2020 20:38 To: [email protected] 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?
