htwdd.chessgame.server.util / SANUtility
SANUtility
class SANUtility
Utility class to handle a String as standard algebraic notation (SAN)
Author Felix Dimmel
Since 1.0.0
Constructors
| <init> | SANUtility()Utility class to handle a String as standard algebraic notation (SAN) |
Companion Object Functions
| calcSANFromAIMove | fun calcSANFromAIMove(startField: Field, endField: Field, checkmate: Boolean, check: Boolean, match: Match): StringCalculate SAN string with given information from ai move |
| validateSAN | fun validateSAN(draw: Draw, match: Match): BooleanValidate a given draw based on his SAN code |