Fen Utility
class FenUtility(string: String, whiteStartingRow: Int, whitePromotionRow: Int, blackStartingRow: Int, blackPromotionRow: Int, pawnPromotions: List<(Player) -> Piece2D>)
Content copied to clipboard
FEN notation utility This class is able to decode a FEN string and return the piece placement and status of the game.
Constructors
FenUtility
Link copied to clipboard
Functions
extendFenPieces
Link copied to clipboard
extendFenPiecesCaseSensitive
Link copied to clipboard
initBoardWithFEN
Link copied to clipboard
Properties
activeColour
Link copied to clipboard
blackPromotionRow
Link copied to clipboard
blackStartingRow
Link copied to clipboard
p1CanCastleLeft
Link copied to clipboard
p1CanCastleRight
Link copied to clipboard
p2CanCastleLeft
Link copied to clipboard
p2CanCastleRight
Link copied to clipboard
pawnPromotions
Link copied to clipboard
whitePromotionRow
Link copied to clipboard
whiteStartingRow
Link copied to clipboard