chessgame

RESTful chessgame developed with kotlin

View on GitHub

htwdd.chessgame.server.util / SANUtility / validateSAN

validateSAN

fun validateSAN(draw: Draw, match: Match): Boolean

Validate a given draw based on his SAN code

Parameters

draw - The draw to be added

match - The match reference of the draw

Author Felix Dimmel

Return True if the draw is valid otherwise false

Since 1.0.0