Getting position from Chess Engine

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
Post Reply
lrmall01
Posts: 4
Joined: Fri Oct 21, 2011 3:54 pm

Getting position from Chess Engine

Post by lrmall01 » Fri Oct 21, 2011 4:01 pm

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.

User avatar
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: Getting position from Chess Engine

Post by Uly » Fri Oct 21, 2011 9:15 pm

Why wouldn't the engine and the GUI be on the same page? Can you provide an example of an engine misbehaving?

lrmall01
Posts: 4
Joined: Fri Oct 21, 2011 3:54 pm

Re: Getting position from Chess Engine

Post by lrmall01 » Tue Oct 25, 2011 3:15 am

I guess I can't really think of a good example where this would happen.

User avatar
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: Getting position from Chess Engine

Post by Uly » Tue Oct 25, 2011 6:21 am

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.

Post Reply