engine
/
utils
Package
utils
Types
Types
FenUtility
Link copied to clipboard
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.