Make Your Own Python Text Adventure: A Guide to Learning Programming Front Cover

Make Your Own Python Text Adventure: A Guide to Learning Programming

  • Length: 149 pages
  • Edition: 1st ed.
  • Publisher:
  • Publication Date: 2018-01-03
  • ISBN-10: 1484232305
  • ISBN-13: 9781484232309
  • Sales Rank: #968251 (See Top 100 Books)
Description

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.

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.

Table of Contents

Chapter 1: Getting Started
Chapter 2: Your First Program
Chapter 3: Listening to Your Users
Chapter 4: Decisions
Chapter 5: Functions
Chapter 6: Lists
Chapter 7: Loops
Chapter 8: Objects
Chapter 9: Exceptions
Chapter 10: Intermezzo
Chapter 11: Building Your World
Chapter 12: Making the World More Interesting
Chapter 13: World-Building Part 2
Chapter 14: Econ 101
Chapter 15: Endgame
Appendix A: Homework Solutions
Appendix B: Common Errors

To access the link, solve the captcha.