filtering positions correctly from av. moves, bug with fen ui update and fenstring from server

This commit is contained in:
2025-12-01 13:27:53 +01:00
parent f6c9503965
commit ad2ad63e22
2 changed files with 84 additions and 10 deletions

View File

@@ -193,6 +193,13 @@ pub async fn handle_connection(
info!("id: {}", &player_id);
error!("\n\n\n");
println!(
"{:?}",
engine::get_available_moves("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1")
);
error!("\n\n\n");
// Message processing loop
while let Some(Ok(message)) = read.next().await {
if message.is_text() {