O'Reilly logo

Mission Python by Sean McManus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10MAKE YOURSELF USEFUL

image

You’ve added the props to the game, so in this chapter, you’ll add the code to enable astronauts to use objects and combine them to make new objects. These skills will be essential for your mission. You’ll get a chance to rehearse them, so you’re ready for any situation.

The code in this chapter is simpler than some of the listings you’ve seen recently and contains the answers for many of the puzzles in the Escape game. So I don’t give away too many spoilers, I won’t explain every item and solution here. For example, sometimes you might see an object number in the code, but I won’t tell you the name of that object.

If you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required