On 06/05/2012 2:48 PM, Barry F Margolius wrote:
> Thanks for the suggestion. I downloaded GNUBG and tried it.
> Unfortunately, it is a mouse based interface.
If you click on the Windows Start logo, Select Programs, Find Gnu
Backgammon .. select GNU Backgammon CLI .
CLI stands for Command Line Interface.
Some of the basic command to get you started:
To set up the command line to play against the computer use:
set player 1 human
set player 0 gnubg
Human vs Human
set player 1 human
set player 0 human
Computer vs Computer
set player 1 gnubg
set player 0 gnubg
new match <number>
number = 0 for money session, or match length.
These commands are self explanatory:
cube - turn cube
accept - Take a cube or agree to a resignation
drop - Drop a cube
decline - decline a resignation
beaver - beaver (money session)
end - have gnubg play the rest of the game automatically
hint - ask the computer for help
resign - resign match
When it is your turn you can make a move by typing the command:
move <from> <to> <from> <to> ...
equivalent to
move <from>/<to> <from>/<to> ...
equivalent to:
<from>/<to> <from>/<to> ...
An example opening 61 would be:
13/7 8/1
If you want to set the playing strength of the bot, I recommend you run
the GUI, set the playing strength via Settings/Players, set player 0 to
GNUBG and set the strength. Exit the GUI and restart the command line.
It happens to be that setting the playing strength directly on the
command line is rather involved.
The last command you may wish to use is:
help
It will provide a list of commands and a description.