getFenFromBoardAndState

Generates a FEN string from the given board and gameState.

Return

The FEN string representing the position.

Parameters

board

The board to convert.

gameState

The game state to convert.