Compare two FENs and return a move?

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Compare two FENs and return a move?

Postby mixographer » 13 Feb 2014, 01:17

I'm wondering if anyone has any examples of comparing two FENs and returning the move in a from-to notation like

"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"

returns e2e4.

C, C++, or python would be great, but any help would be a great help. Handling castle - cases where there are two changes in the FEN position would be great too.

Thanks.
mixographer
 
Posts: 1
Joined: 12 Feb 2014, 22:59

Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 21 guests