Make Your Own Python Text Adventure

A Guide to Learning Programming

  • Phillip Johnson

Table of contents

  1. Front Matter
    Pages i-xi
  2. Phillip Johnson
    Pages 1-7
  3. Phillip Johnson
    Pages 9-12
  4. Phillip Johnson
    Pages 13-18
  5. Phillip Johnson
    Pages 19-26
  6. Phillip Johnson
    Pages 27-32
  7. Phillip Johnson
    Pages 33-39
  8. Phillip Johnson
    Pages 41-52
  9. Phillip Johnson
    Pages 53-64
  10. Phillip Johnson
    Pages 65-70
  11. Phillip Johnson
    Pages 71-76
  12. Phillip Johnson
    Pages 77-84
  13. Phillip Johnson
    Pages 85-98
  14. Phillip Johnson
    Pages 99-113
  15. Phillip Johnson
    Pages 115-126
  16. Phillip Johnson
    Pages 127-130
  17. Phillip Johnson
    Pages 131-144
  18. Phillip Johnson
    Pages 145-146
  19. Back Matter
    Pages 147-149

About this book


Learn programming with Python by creating a text adventure. This book will teach you the fundamentals of programming, how to organize code, and some coding best practices. By the end of the book, you will have a working game that you can play or show off to friends. You will also be able to change the game and make it your own by writing a different story line, including new items, creating new characters, and more.

Make your own Python Text Adventure offers a structured approach to learning Python that teaches the fundamentals of the language, while also guiding the development of the customizable game. The first half of the book introduces programming concepts and Python syntax by building the basic structure of the game. You'll also apply the new concepts in homework questions (with solutions if you get stuck!) that follow each chapter. The second half of the book will shift the focus to adding features to your game and making it more entertaining for the player.

Python is often recommended as a first programming language for beginners, and for good reason. Whether you've just decided to learn programming or you've struggled before with vague tutorials, this book will help you get started. 


Python Game Programming objects learn to program syntax basic programming

Authors and affiliations

  • Phillip Johnson
    • 1
  1. 1.New YorkUSA

Bibliographic information

  • DOI
  • Copyright Information Phillip Johnson 2018
  • Publisher Name Apress, Berkeley, CA
  • eBook Packages Professional and Applied Computing
  • Print ISBN 978-1-4842-3230-9
  • Online ISBN 978-1-4842-3231-6
  • About this book