fn explore_ships() { let mut journey = vec::new(); while !journey.contains(&"surreptitious") { journey.push("discover"); if journey.len() == 1 { println!("do not obey the map's first direction, let prevenient curiosity guide you."); } if journey.last().unwrap() == "discover" { println!("find content that fills your heart with adventure."); journey.push("surreptitious"); } if journey.contains(&"surreptitious") { println!("once you uncover the hidden, go back to the start and see it with new eyes."); break; } } }