Autoplay project connects two xboard/winboard protocol complaint chess engines and lets them play against each other. The result will be logged in a easily parseable logfile and after the result of the game is known, a specific exit-code is returned (0=white won, 1=black won, etc).
How to run it?
GNUChess versus Pos
autoplay -1 "gnuchess -x " -2 "java -Xmx256M -jar pos --io-mode xboard" -r -l gnuchess_v_pos.log
Sjeng versus GNUChess
autoplay -1 sjeng -2 "gnuchess -x" -l sjeng_v_gnuchess.log
Engines running on seperate computers
This example runs gnuchess on computer 'B' with white and sjeng on computer 'A' with black:
Computer B (slave):
autoplay -P 7788 -0 "gnuchess -x"
Computer A (master):
autoplay -1 "client:B:7788" -2 "sjeng" -v -r