rudzen / ChessLib

C# chess library containing a complete data structure and move generation.
MIT License
81 stars 22 forks source link

Engine work #59

Closed JMSSVLC closed 1 year ago

JMSSVLC commented 1 year ago

I think it would be very useful to have a GivesMate(move) method in the Position class, similar to the GivesCheck(move), in order to use the speed of the library to know if a move gives Checkmate from a certain position. I would also be very useful to have a test or at least an example about to make a number of consecutive moves from a certain position and/or the new position from a position and a move, without going into more details. I am still looking for a simple way to do that. I know it is possible but the way is not so evident for me. Thank you for your attention