pub fn active_player_placed_all_ships(&self) -> bool {
        let ships = self.active_player().ships();

        ships.len() == self.settings.ships.len() && !ships[ships.len() - 1].is_placement()
    }
/// Returns whether the active player has placed all their ships.
Returns whether the active player has placed all their ships.
Returns whether the active player has placed all their ships .
pub fn active_player_placed_all_ships(&self) -> bool {
        let ships = self.active_player().ships();
        ships.len() == self.settings.ships.len() && !ships[ships.len() - 1].is_placement()
    }
pub fn active_player_placed_all_ships ( & self ) -> bool { let ships = self . active_player ( ) . ships ( ) ; ships . len ( ) == self . settings . ships . len ( ) && ! ships [ ships . len ( ) - 1 ] . is_placement ( ) }
Returns whether the active player has placed all their ships.
Returns whether the active player has placed all their ships .
&self
&self