Mission Python Code a Space Adventure Game by Sean McManus San Francisco
To my wife Karen with thanks for all her support throughout this mission and to Leo our wonderful son who is taking us on the most amazing journey
IntroductIon Air is running out There’s a leak in the space station so you’ve got to act fast Can you find your way to safety You’ll need to navigate your way around the space station find access cards to unlock doors and fix your damaged space suit The adventure has begun And it starts here on Earth at mission command also known as your computer This book shows you how to use Python to build a space station on Mars explore the station and escape danger in an adventure game complete complete with graphics Can you think like an astronaut to make it to safety How to use this Book By following the instructions in this book you can build a game called Escape with a map to explore and puzzles to solve It’s written in Python a popular programming language that is easy to read It also uses Pygame Zero which adds some instructions for managing images and sounds among other things Bit by bit I’ll show you how to make the game and how the main