Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: The Answers To Our Quiz......... :-)

Author: Dan Honeycutt

Date: 12:02:57 06/13/05

Go up one level in this thread


On June 13, 2005 at 12:45:56, Christopher Conkie wrote:

>I did wonder why you asked. Yes, the position is hard to get to be analysed.
>
>:-)
>
>Christopher

Hi Chris:

I asked because I like "torture tests" - they are a great help finding bugs.

I duplicated your search with the scenario I described.  Bruja sends the
following string to the gui:

Illegal move: e8g8

I don't know where the exclamation mark and parentheses came from in your
printout, put there by the gui?

I believe the guilty party in this case is Arena or whatever gui you used, not
Bruja.  If Bruja follows the protocall correctly and the gui fails to heed the
message, it is not Bruja's fault.  It appears to me that Bruja followed the
protocall correctly.  From engine-intf.html:

------------------------------------------------------------------------------
Illegal move: MOVE
Illegal move (REASON): MOVE
If your engine receives a MOVE command that is recognizably a move but is not
legal in the current position, your engine must print an error message in one of
the above formats so that xboard can pass the error on to the user and retract
the move. The (REASON) is entirely optional. Examples:
  Illegal move: e2e4
  Illegal move (in check): Nf3
  Illegal move (moving into check): e1g1
Generally, xboard will never send an ambiguous move, so it does not matter
whether you respond to such a move with an Illegal move message or an Error
message
-------------------------------------------------------------------------------

As I read this, the gui should have retracted the move.  It apparently did not.

Of course, my interpretation could be wrong.  I'm going to start a thread to see
if some of the gurus here will weigh in.

Best
Dan H.



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.