Escape Room Program – Part 3: escaping the room

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.

  1. You'll add your code at the end of your program
  2. Use  print("...") commands to describe what's past the door
  3. 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?

  4. Don't forget to test your code
  5. Remember to add comments and leave gaps to make your code easier to read

Here's my code:

Code helper image

Once that works we can add the next riddle.