Python is often recommended as a first programming language for beginners, and for good reason. But the idea that you can create "anything" with a programming language can be overwhelming. This book is a structured approach to learning Python that teaches the fundamentals of the language, while also guiding the development of your own customizable text adventure 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.
Whether you've just decided to learn programming or you've struggled before with vague tutorials, this is the right book for you. In addition to the book, you have access to all of the example code, game code, and homework solutions here. If you're reading this on your computer, you already have everything you need to get started today!
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.