Skip to main content
  • Book
  • © 2018

Make Your Own Python Text Adventure

A Guide to Learning Programming

Apress

Authors:

  • Learn programming in Python by building a customizable text adventure game
  • Teaches good coding concepts and best practices
  • Includes homework problems and solutions for each chapter

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (17 chapters)

  1. Front Matter

    Pages i-xi
  2. Getting Started

    • Phillip Johnson
    Pages 1-7
  3. Your First Program

    • Phillip Johnson
    Pages 9-12
  4. Listening to Your Users

    • Phillip Johnson
    Pages 13-18
  5. Decisions

    • Phillip Johnson
    Pages 19-26
  6. Functions

    • Phillip Johnson
    Pages 27-32
  7. Lists

    • Phillip Johnson
    Pages 33-39
  8. Loops

    • Phillip Johnson
    Pages 41-52
  9. Objects

    • Phillip Johnson
    Pages 53-64
  10. Exceptions

    • Phillip Johnson
    Pages 65-70
  11. Intermezzo

    • Phillip Johnson
    Pages 71-76
  12. Building Your World

    • Phillip Johnson
    Pages 77-84
  13. Making the World More Interesting

    • Phillip Johnson
    Pages 85-98
  14. World-Building Part 2

    • Phillip Johnson
    Pages 99-113
  15. Econ 101

    • Phillip Johnson
    Pages 115-126
  16. Endgame

    • Phillip Johnson
    Pages 127-130
  17. Homework Solutions

    • Phillip Johnson
    Pages 131-144
  18. Common Errors

    • 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 entertainingfor 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. 

What You'll Learn

  • Install Python and set up a workspace
  • Master programming basics and best practices including functions, lists, loops and objects
  • Create an interactive adventure game with a customizable world

Who This Book Is For

People who have never programmed before or for novice programmers starting out with Python.

Authors and Affiliations

  • New York, USA

    Phillip Johnson

About the author

Phillip Johnson is a software developer based out of Columbus, Ohio. He has worked on projects ranging from call center queuing to bioinformatics and has used a wide range of technologies including Python, Java, Scala, and SQL. He blogs at Let's Talk Data.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access