Author: Andrew Williams
Date: 05:18:07 11/25/01
Go up one level in this thread
On November 25, 2001 at 07:00:57, Michel Langeveld wrote: >On November 25, 2001 at 04:39:16, Andrew Dados wrote: > >>On November 25, 2001 at 03:39:07, Michel Langeveld wrote: >> >>>I have no clue... because my engine doesn't get anything in it... >> >>What ICC sends is only one line : >>Creating: Thanx (----) AndreD (1523) unrated suicide 3 0 (adjourned) >> >>...that line don't get through winboard to your engine. >> >>Then what winboard sends is a different story.... since it pulls out adjourned >>games moves from the server and feeds it to the engine; also sets up clocks... >> >>Anyway I am not sure what you are asking for. >> >>-Andrew- > >I play with the handle nullmover on ICC. >When someone aborts a game and resumes it my engine gets in panic. >It seems to be I handle something wrong but I have no idea what. >So I was wondering in what winboard sends to my engine.... > >Michel The best way to restart a game using xboard or winboard is to provide the option -getMoveList on the command line. This way, when a game is resumed, ICS sends the normal start game sequence followed by the complete list of moves to date. This is described in zippy.README, which should be part of the winboard download. Here's the relevant paragraph: The getMoveList option controls how adjourned games are continued. If it is True (the default), xboard fetches the move list from ICS and feeds it into the chess program before having the program start play. If False, xboard feeds the current position into the chess program and has it start from there. The latter option gets the program going sooner, but can cause problems with detection of en passant legality, castling legality (if a king or rook has moved and then returned to its home square), draw by repetition, and draw by the 50 move rule. The xboard manual here says the default is false, although in the paragraph above, it says it is true. It's certainly worth having a look at the winboard debug output to see exactly what ICC is trying to tell you. Ideally, you want the start game sequence, followed by all the moves in the game to date. Andrew
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.