added method to get notation of chessmove
This commit is contained in:
@@ -231,4 +231,8 @@ impl ChessMove {
|
|||||||
};
|
};
|
||||||
return bitmove;
|
return bitmove;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn notation(&self) -> String {
|
||||||
|
return self.to_bitmove().uci_notation();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user