moveToSan

fun moveToSan(move: Move, board: Board, gameState: GameState): String

Converts a Move object to its SAN (Standard Algebraic Notation) string representation.

Return

The SAN string representing the move.

Parameters

move

The move to convert.

board

The current board state.

gameState

The current game state.