Step 1 – A new description
After the door swings open we should give the player a description to work with.
This is my description. You might want to do something different. That's a Good Idea.
- You'll add your code at the end of your program
- Use print("...") commands to describe what's past the door
- Think about the riddle you're going to set here
In my example, I've got a chest. There's going to be something hidden in it. Maybe a magic lamp? Maybe a unicorn? Maybe a flux capacitor?
- Don't forget to test your code
- Remember to add comments and leave gaps to make your code easier to read
Here's my code:
Once that works we can add the next riddle.