Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Legal or Illegal.......you decide.......

Author: Andreas Guettinger

Date: 13:19:42 06/12/05

Go up one level in this thread


Hi Christopher,

Sorry but I cannot reproduce that under xboard.
After setting the position and forcing crafty to move it simply plays the book
move e2e4.
And it is right, because it never accepted the illegal position, and just sticks
to the starting position, as can be seen in the debug logs.
Xboard then complains because e4 is not a legal move in this position.

http://home.datacomm.ch/aguettinger/files/xboard.png

56829 >first : setboard r4rk1/b7/8/8/8/8/B7/R3K2R w KQ - 0 1
57114 <first : tellicsnoalias set 1 Crafty v19.19 (1 cpus)
57123 <first : pong 1
57141 <first : ERROR side not on move is in check!
60618 >first : name andreas
60618 >first : time 30000
otim 30000
60618 >first : go
60671 <first : tellicsnoalias kibitz Hello from Crafty v19.19!
61459 <first : move e4
xboard: Illegal move "e4" from first machine
61528 <first : Hint: c5


The same happens in the console as stated before:
Crafty v19.19

White(1): setboard r4rk1/b7/8/8/8/8/B7/R3K2R w KQ - 0 1
ERROR side not on move is in check!
White(1): go
              clearing hash tables
               book moves {e4, d4, f4}
               book   0.0s     33%    d4! Nf6

White(1): d4
              time used:   0.88
Black(1): d

       +---+---+---+---+---+---+---+---+
    8  |<R>|<N>|<B>|<Q>|<K>|<B>|<N>|<R>|
       +---+---+---+---+---+---+---+---+
    7  |<P>|<P>|<P>|<P>|<P>|<P>|<P>|<P>|
       +---+---+---+---+---+---+---+---+
    6  |   | . |   | . |   | . |   | . |
       +---+---+---+---+---+---+---+---+
    5  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    4  |   | . |   |-P-|   | . |   | . |
       +---+---+---+---+---+---+---+---+
    3  | . |   | . |   | . |   | . |   |
       +---+---+---+---+---+---+---+---+
    2  |-P-|-P-|-P-| . |-P-|-P-|-P-|-P-|
       +---+---+---+---+---+---+---+---+
    1  |-R-|-N-|-B-|-Q-|-K-|-B-|-N-|-R-|
       +---+---+---+---+---+---+---+---+
         a   b   c   d   e   f   g   h

Black(1):


To be honest I have to say I reproduced this almost 20 times and 19 times it was
like above but once crafty just played 0-0-0, I have no idea why. :(

But shouldn't it be the GUI that refuses the illegal position in the first place
because it handles with the user interaction? Why only blame the engines?

regards
Andy



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.