I need to create a Square object but I can just create it using a move that is the last move in the draft board, but I can only make it using the algebraic name. How can I create it using the last move?
JellyWasCoding opened this issue · comments
JellyWasCoding commented
I need to create a Square object but I can just create it using a move that is the last move in the draft board, but I can only make it using the algebraic name. How can I create it using the last move?
Originally posted by @JellyCZYT in #433 (comment)
Edward-789 commented
There are variavles of the Move
class, called StartSquare
and TargetSquare
that convey square information about the move.