Open 9acca9 opened 1 month ago
Hi @9acca9,
I'm afraid there is no such simple method to do that. I might consider adding this. For now, one simple way to check if a move is "special", is to check if there are linked displacement. If it is a King or Rook, then it's a castling move.
Hi. Sorry the ignorance. I made a little app in python using python-chess (a module to chess validation move), with this module you can ask if certain moves are "en passant", "castling", "promotion". For example:
if move is a move that is castling the if will be true
Now im trying to replicate my app but with Java... (im trying to learn java...) It is possible to know if this moves are happening with your library?
Thanks!