added method to get notation of chessmove

This commit is contained in:
Varga Dávid Lajos
2025-12-03 21:09:13 +01:00
parent 5094a6e1fd
commit 86b5f172ee

View File

@@ -231,4 +231,8 @@ impl ChessMove {
}; };
return bitmove; return bitmove;
} }
pub fn notation(&self) -> String {
return self.to_bitmove().uci_notation();
}
} }