Computer Chess Club Archives


Search

Terms

Messages

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

Author: Robert Hyatt

Date: 11:25:08 06/12/05

Go up one level in this thread


On June 12, 2005 at 11:58:18, Uri Blass wrote:

>On June 12, 2005 at 11:39:40, William H Rogers wrote:
>
>>I may be wrong but the move is illegal to begin with. The Black King on G8 is in
>>check by the White Bishop on A2 which means that the Black King moved into check
>>which is an illegal move to start with.
>>Am I the only one who can see this?
>>Bill
>
>This is exactly the point of the test.
>Engines should detect illegal position and refuse to analyze it.
>
>Movei still does not know to do it and simply may crash in some illegal
>positions(It will not accept now positions when the king of the side not to move
>is under threat but it still can accept other problems like king that is checked
>from 2 bishops directions and I am afraid that it may crash in these cases
>because my move generator assumes no check from 2 bishop directions).
>
>Uri

Crafty produces an error when this FEN string is copied into the program,
because it understands that it is illegal.  However, since I have an "edit
facility" for positions, I still set the board to the position and complain
about the illegal characteristic (side not on move is in check in this case) to
give the user a chance to fix it via editing.  If he wants to do a search, what
would be the proper result for asking an engine to search an illegal position?





This page took 0.01 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.