Start to create WS client for cli_player

This commit is contained in:
2022-10-15 10:12:02 +02:00
parent d90560d330
commit 4af2585a8b
11 changed files with 135 additions and 1 deletions

View File

@ -196,6 +196,9 @@ impl BotClient {
log::debug!("Got invalid invite code!");
return Ok(ClientEndResult::InvalidInviteCode);
}
ServerMessage::OpponentConnected => {
log::debug!("Opponent connected");
}
ServerMessage::QueryBoatsLayout { rules } => {
assert_eq!(&rules, &self.requested_rules);
log::debug!("Server requested boats layout");