> On Tue, 2006-11-07 at 10:20 -0500, House, Jason J. wrote: > > I believe there's an alternate to option #3. Force the bot to play > > only one game at a time and respawn. If leaving by timeout doesn't > > cause an exit from kgsGtp, it does at least cause a call to > > kgs-game_over which can cause the bot to exit. > > Bot does not exit from KGS, it just leaves game and starts waiting for > another. So next thing seen in the log file is start of the next game.
For some reason, I thought there was a parameter in the kgsGtp configuration file that would allow the bot to play one game and then exit. That's not there. It seems that kgs-game_over is intended to be the solution to detecting a clean opportunity to disconnect. If the opponent leaves (or doesn't show up) for 5 minutes, it'll call kgs-game_over before waiting around for another game. In a tournament, if the bot always exits when it receives that command (and then gets respawned by whatever is calling kgsGtp), then the bot will reconnect back in its tournament game. _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/