2025-11-15 19:15:30 +01:00
|
|
|
mod bitboard;
|
2025-11-15 19:17:50 +01:00
|
|
|
pub mod chessmove;
|
2025-11-15 19:24:37 +01:00
|
|
|
pub mod piecetype;
|
2025-11-15 19:35:17 +01:00
|
|
|
pub mod boardsquare;
|
2025-11-15 20:08:54 +01:00
|
|
|
pub mod movetype;
|
|
|
|
|
|
|
|
|
|
use chessmove::ChessMove;
|
|
|
|
|
|
|
|
|
|
pub fn get_available_moves(fen: &str) -> Vec<ChessMove> {
|
|
|
|
|
println!("get_available_moves answered");
|
|
|
|
|
return vec![];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn is_game_over(fen: &str) -> bool {
|
|
|
|
|
println!("is_game_over answered");
|
|
|
|
|
return false;
|
|
|
|
|
}
|