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

4CREATING THE SPACE STATION

image

In this chapter, you’ll build the map for your space station on Mars. Using the simple Explorer code that you’ll add in this chapter, you’ll be able to look at the walls of each room and start to find your bearings. We’ll use lists, loops, and the techniques you learned in Chapters 1, 2, and 3 to create the map data and display the room in 3D.

AUTOMATING THE MAP MAKING PROCESS

The problem with our current room_map data is that there’s a lot of it. The Escape game includes 50 locations. If you had to enter room_map data for every location, it would take ages and be hugely inefficient. As an example, if each room consisted ...

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