You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 chess_board.is_castling(move):
do...
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: