09-12-2020, 12:22 PM
Hi Quentin,
No, and in reality that's possible to have many moves corresponding to the same 'from' and 'to' locations but with difference consequences. Consequently applying directly a move with only these information is not possible.
But we can get a sub list of the legal moves corresponding to these 'from' and 'to' locations, Matthew uses something similar to convert the mouse clicks to the corresponding playable sites and then to the corresponding legal moves.
That would be useful for you?
Regards,
Eric.
No, and in reality that's possible to have many moves corresponding to the same 'from' and 'to' locations but with difference consequences. Consequently applying directly a move with only these information is not possible.
But we can get a sub list of the legal moves corresponding to these 'from' and 'to' locations, Matthew uses something similar to convert the mouse clicks to the corresponding playable sites and then to the corresponding legal moves.
That would be useful for you?
Regards,
Eric.