feat: add sending and receiving moves and captures

This commit is contained in:
2026-08-17 21:47:03 +02:00
parent 9b86e95701
commit bb2599a3ca
3 changed files with 94 additions and 10 deletions

View File

@@ -119,10 +119,14 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
}
Some(ClientData::AvailableCaptures(capture_paths)) => {
info!("Available captures paths: {:?}", capture_paths);
todo!()
}
Some(ClientData::AvailableMoves(move_paths)) => todo!(),
Some(ClientData::AvailableMoves(move_paths)) => {
info!("Available moves: {:?}", move_paths);
todo!();
},
Some(ClientData::TextMessage {sender, content}) => {
info!("[{}] - {}", sender, content);