Next: UCI chess engine, Previous: Output files, Up: Invocation [Contents][Index]
Running the program with the "–xboard" command line parameter sets it to produce output acceptable to and accept input suitable for XBoard, the graphical display front-end with mouse interface.
For historical reasons the option "xboard" does not need to be preceeded by "–"; however we would encourage the new syntax.
How to run XBoard with GNU Chess as backend (first chess engine):
xboard -fcp 'gnuchess --xboard' xboard -fd . -fcp './gnuchess --xboard'
How to run XBoard with GNU Chess playing against itself:
./xboard -fcp './gnuchess -x' -fd . -scp './gnuchess -x' -sd . -pieceImageDirectory 'svg' -matchMode T -tc 1