diff --git a/sea_battle_backend/src/bot_player.rs b/sea_battle_backend/src/bot_player.rs index f03b4f1..b5afb48 100644 --- a/sea_battle_backend/src/bot_player.rs +++ b/sea_battle_backend/src/bot_player.rs @@ -23,7 +23,12 @@ impl BotPlayer { impl Player for BotPlayer { fn get_name(&self) -> &str { - "Intermediate Bot" + match self.kind { + BotType::Random => "Random bot", + BotType::Linear => "Linear bot", + BotType::Intermediate => "Intermediate bot", + BotType::Smart => "Smart bot", + } } fn get_uid(&self) -> Uuid {