Skip to main content

get_algebraic_notation

Function get_algebraic_notation 

Source
pub fn get_algebraic_notation(
    state: &GameState,
    from: usize,
    to: usize,
    promotion: Option<PieceType>,
) -> String
Expand description

Translates active board geometries natively into formal FIDE Standard Algebraic Notation directly!