Closed GabrieleBattaglia closed 3 months ago
Creating SAN requires the position for context. So instead of
b.peek().uci()
you would have to do something like
b.san_and_push(b.pop())
which undoes the last move, creates SAN, and reapplies the move.
Fine. I'll try it. Thanks.
Hi. I need to have the SAN move of the last pushed.
Could I have this l in SAN format instead of UCI?
Many thanks. Gabe.