Page 1 of 1

Getting position from Chess Engine

Posted: Fri Oct 21, 2011 4:01 pm
by lrmall01
I am toying around with a very basic chess analysis tool and was wondering if it is possible to have the chess engine pass the position that it is analyzing back to the GUI. If not, how do you ensure that the sequence of moves you have passed from the gui to the engine matches? It seems like a good idea to me that you would want to compare FEN strings or something from time to time so that you are confident the engine and GUI are on the same page. It seems to me that this is not part of the UCI spec though.

Thanks for any comments.

Re: Getting position from Chess Engine

Posted: Fri Oct 21, 2011 9:15 pm
by Uly
Why wouldn't the engine and the GUI be on the same page? Can you provide an example of an engine misbehaving?

Re: Getting position from Chess Engine

Posted: Tue Oct 25, 2011 3:15 am
by lrmall01
I guess I can't really think of a good example where this would happen.

Re: Getting position from Chess Engine

Posted: Tue Oct 25, 2011 6:21 am
by Uly
I've never seen a GUI sending the wrong FEN when playing engine matches, and have never seen an engine misinterpreting a sent FEN when playing engine matches, so I guess it's more fruitful to make sure the feature works on both sides than implementing a "let's make sure" feature in both the GUI and the engines.