htwdd.chessgame.server.util / CheckUtility
CheckUtility
class CheckUtility
Utility class handle threated field based on the piece type
Author Felix Dimmel
Constructors
| <init> | CheckUtility()Utility class handle threated field based on the piece type |
Companion Object Functions
| calcThreatedFields | fun calcThreatedFields(match: Match): BooleanCalculate threated fields based on the piece type |
| checkmate | fun checkmate(match: Match): BooleanCalcualte possible movement fields based on the piece type |