loadFen

fun loadFen(fen: String)

Loads a position from a FEN string, resetting move and position history.

Parameters

fen

The FEN string to load.