Package utils

Types

FenUtility
Link copied to clipboard
class FenUtility(string: String, whiteStartingRow: Int, whitePromotionRow: Int, blackStartingRow: Int, blackPromotionRow: Int, pawnPromotions: List<(Player) -> Piece2D>)
FEN notation utility This class is able to decode a FEN string and return the piece placement and status of the game.