htwdd.chessgame.server.util / SANUtility / calcSANFromAIMove
calcSANFromAIMove
fun calcSANFromAIMove(startField:
Field
, endField:
Field
, checkmate:
Boolean
, check:
Boolean
, match:
Match
):
String
Calculate SAN string with given information from ai move
Parameters
startField
- Start position of moved piece
endField
- End position of moved piece
checkmate
- True if one player is checkmate otherwise false
check
- True if one player is in check otherwise false
match
- The match reference of the draw
Author Felix Dimmel
Since 1.0.0