Mission Python: Code a Space Adventure Game!

  • 4h 27m
  • Sean McManus
  • No Starch Press
  • 2018

Program a graphical adventure game in this hands-on, beginner-friendly introduction to coding in the Python language.

Launch into coding with Mission Python, a space-themed guide to building a complete computer game in Python. You'll learn programming fundamentals like loops, strings, and lists as you build Escape!, an exciting game with a map to explore, items to collect, and tricky logic puzzles to solve. As you work through the book, you'll build exercises and mini-projects, like making a spacewalk simulator and creating an astronaut's safety checklist that will put your new Python skills to the test. You'll learn how to use Pygame Zero, a free resource that lets you add graphics and sound effects to your creations, and you'll get useful game-making tips, such as how to design fun puzzles and intriguing maps. Before you know it, you'll have a working, awesome game to stump your friends with (and some nifty coding skills, too!). You can follow this book using a Raspberry Pi or a Microsoft Windows PC, and the 3D graphics and sound effects you need are provided as a download.

About the Author

Sean McManus is an experienced computer book author, with extensive experience in writing coding books for children. His children's titles include Cool Scratch Projects in Easy Steps, Scratch Programming in Easy Steps, and Super Skills: How To Code in 10 Easy Lessons. He co-wrote Raspberry Pi For Dummies with Mike Cook. Sean has been a Code Club volunteer, helping junior school children to learn programming in weekly sessions.

In this Book

  • Introduction
  • Your First Spacewalk
  • Lists Can save Your Life
  • Repeat after Me
  • Creating the Space Station
  • Preparing the Space Station Equipment
  • Installing the Space Station Equipment
  • Moving into the Space Station
  • Repairing the Space Station
  • Unpacking Your Personal Items
  • Make Yourself Useful
  • Activating Safety Doors
  • Danger! Danger! Adding Hazards
SHOW MORE
FREE ACCESS