from Uci
Resolves a UCI (Universal Chess Interface) string into a fully-populated legal Move by generating legal moves a single time. Returns null if the UCI string does not correspond to a legal move in the given position.
Unlike constructing a Move from squares and then searching LegalMoveGenerator separately, this method avoids redundant move generation.
Return
The matching legal Move with all flags populated, or null if illegal.
Parameters
uci
The UCI string representing the move (e.g., "e2e4", "e7e8q").
board
The current board state.
game State
The current game state.