htwdd.chessgame.server.util / CheckUtility / calcThreatedFields
calcThreatedFields
fun calcThreatedFields(match:
Match
):
Boolean
Calculate threated fields based on the piece type
Parameters
match
- Match reference
Author Felix Dimmel
Return True if the opponent is in check otherwise false
Since 1.0.0