Companion

object Companion

Functions

Link copied to clipboard
fun fromUci(uci: String, board: Board, gameState: GameState): Move?

Resolves a UCI (Universal Chess Interface) string into a fully-populated legal Move by generating legal moves a single time. Returns null if the UCI string does not correspond to a legal move in the given position.