use indoc::indoc;
pub fn wump_kill() {
const MESSAGE: &str = indoc! {
"\
*ROAR* *chomp* *snurfle* *chomp*!
Much to the delight of the Wumpus, you walked right into his mouth,
making you one of the easiest dinners he's ever had! For you, however,
it's a rather unpleasant death. The only good thing is that it's been
so long since the evil Wumpus cleaned his teeth that you immediately
passed out from the stench!"
};
println!("{MESSAGE}");
}
pub fn kill_wump() {
const MESSAGE: &str = indoc! {
"\
*thwock!* *groan* *crash*
A horrible roar fills the cave, and you realize, with a smile, that you
have slain the evil Wumpus and won the game! You don't want to tarry for
long, however, because not only is the Wumpus famous, but the stench of
dead Wumpus is also quite well known, a stench plenty enough to slay the
mightiest adventurer at a single whiff!!"
};
println!("{MESSAGE}");
}
pub fn no_arrows() {
const MESSAGE: &str = indoc! {
"\
\nYou turn and look at your quiver, and realize with a sinking feeling
that you've just shot your last arrow (figuratively, too). Sensing this
with its psychic powers, the evil Wumpus rampagees through the cave, finds
you, and with a mighty *ROAR* eats you alive!"
};
println!("{MESSAGE}");
}
pub fn shoot_self() {
const MESSAGE: &str = indoc! {
"\
\n*Thwack!* A sudden piercing feeling informs you that the ricochet
of your wild arrow has resulted in it wedging in your side, causing
extreme agony. The evil Wumpus, with its psychic powers, realizes this
and immediately rushes to your side, not to help, alas, but to EAT YOU!
(*CHOMP*)"
};
println!("{MESSAGE}");
}
pub fn pit_kill() {
const MESSAGE: &str = indoc! {
"\
*AAAUUUUGGGGGHHHHHhhhhhhhhhh...*
The whistling sound and updraft as you walked into this room of the
cave apparently wasn't enough to clue you in to the presence of the
bottomless pit. You have a lot of time to reflect on this error as
you fall many miles to the core of the earth. Look on the bright side;
you can at least find out if Jules Verne was right..."
};
println!("{MESSAGE}");
}
pub fn pit_survive() {
const MESSAGE: &str = indoc! {
"\
Without conscious thought you grab for the side of the cave and manage
to grasp onto a rocky outcrop. Beneath your feet stretches the limitless
depths of a bottomless pit! Rock crumbles beneath your feet!"
};
println!("{MESSAGE}");
}
pub fn jump(where_to: usize) {
println!("\nWith a jaunty step you enter the magic tunnel. As you do, you");
println!("notice that the walls are shimmering and glowing. Suddenly you feel");
println!("a very curious, warm sensation and find yourself in room {where_to}!!");
}