Chess-Web / neural_engine /src /bin /test_fen.rs
dpv007's picture
Upload folder using huggingface_hub
4300326 verified
Raw
History Blame Contribute Delete
220 Bytes
use shakmaty::{Chess, Position};
fn main() {
let board = Chess::default();
let fen_str = shakmaty::fen::Fen::from_position(board, shakmaty::EnPassantMode::Legal).to_string();
println!("FEN: {}", fen_str);
}