[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]  


Invoking @gnubg

Start GNU Backgammon by running the program gnubg. Once started, it will process commands from the terminal.

You can also instruct @gnubg{} to read an existing game or match from a file, to play or analyse. To read from filename, specify gnubg filename.

@gnubg{} will give you a short summary of how to invoke it if given the option @option{--help} (@option{-h} for short), and report its version with @option{--version} (@option{-v}).

GNU Backgammon will normally use a graphical board window if a window system is available. To prevent this behaviour and use standard terminal output instead, you can specify the @option{--tty} option (which can be abbreviated to @option{-t}).

By default, @gnubg{} will attempt to load pre-trained neural net weights; if you have no weights or wish to train a net from scratch, you can supply the @option{--no-weights} (@option{-n}) option, and new weights will be randomly generated.

FIXME the previous command is out of date; --no-weights is now --new-weights.

FIXME document --no-bearoff, --no-rc, --datadir and --window-system-only options.


[Contents]   [Back]   [Prev]   [Up]   [Next]   [Forward]