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

AESCAPE: THE COMPLETE GAME LISTING

image

This appendix shows the final listing for the Escape game. You can use it as a reference to see where to place particular functions and sections, or read through it if you want to see the whole listing in one place. This listing doesn’t include the temporary sections you wrote while building the game, such as the EXPLORER section. It just contains the code that is in the final game.

Remember that you can also download the escape.py listing and read it in IDLE, which lets you search it by pressing CTRL-F.

I’ve changed PLAYER_NAME to “Captain” in this listing. When you’re building or customizing the game, you can ...

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