This Python script creates an interactive story that engages the user in a rescue mission to save Princess Lati from a dragon in the Kingdom of Zimbia. The story unfolds based on the user's input, offering a personalized adventure experience.
To start the adventure, simply run the script. The script will present you with the background story of Princess Lati's abduction by a dangerous dragon. It then asks whether you are willing to embark on the daring mission to rescue the princess.
Rescue Decision: You will first be asked if you want to rescue Princess Lati. Respond with "yes" or "no".
If you choose "yes", you will proceed to the next stage of the story. Choosing "no" will end the story with a message that reflects your decision to not participate in the rescue mission.
Your Name: If you decide to rescue the princess, the script will then ask for your name. This name will be used in the story to personalize your adventure.
Your Super Power: After providing your name, you will be asked to describe your superpower. This superpower is a key element of your strategy to defeat the dragon and rescue the princess.
Your Weapon: Finally, you will be asked about the weapon you will use in your quest. Choose wisely, as it will be your main tool against the dragon.
Based on your responses, the story will unfold, detailing your brave attempt to save Princess Lati using your unique superpower and chosen weapon. Your adventure will be richly described, engaging you in the imaginary world of Zimbia and your heroic quest.
Python 3.x installed on your machine.
To run this script, navigate to the directory containing the script file in your terminal or command prompt and execute the following command:
python story-book.py
This script offers a brief escape into a fantasy world, where your choices shape the story. Enjoy the adventure, and may you be successful in rescuing Princess Lati from the clutches of the dragon!