Make Your Own Python Text Adventure: A Guide to Learning Programming (創造屬於你的 Python 文字冒險:學習程式設計的指南)

Phillip Johnson

  • 出版商: Apress
  • 出版日期: 2017-11-24
  • 定價: $1,100
  • 售價: 8.0$880
  • 語言: 英文
  • 頁數: 149
  • 裝訂: Paperback
  • ISBN: 1484232305
  • ISBN-13: 9781484232309
  • 相關分類: Python程式語言
  • 立即出貨(限量) (庫存=4)

相關主題

商品描述

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.

商品描述(中文翻譯)

這本書將教你使用Python創建文字冒險遊戲,從而學習編程的基礎知識、代碼組織和一些編程最佳實踐。通過閱讀本書,你將能夠製作一個可供自己玩耍或向朋友展示的遊戲。你還可以通過編寫不同的故事情節、添加新物品、創建新角色等方式,將遊戲變成你自己的作品。

《製作自己的Python文字冒險遊戲》提供了一種結構化的學習Python的方法,既教授語言的基礎知識,又引導開發可自定義遊戲。本書的前半部分介紹了編程概念和Python語法,通過構建遊戲的基本結構來應用這些新概念。每章後面還有作業問題(如果卡住了,也提供了解答),讓你能夠應用新學到的知識。本書的後半部分則專注於為遊戲添加功能,使其對玩家更具娛樂性。

Python通常被推薦作為初學者的第一個編程語言,原因是它易於學習。無論你是剛剛決定學習編程,還是之前在模糊的教程中遇到困難,這本書都能幫助你入門。

你將學到以下內容:

- 安裝Python並設置工作空間
- 掌握編程基礎知識和最佳實踐,包括函數、列表、循環和對象
- 創建一個具有可自定義世界的互動冒險遊戲

本書適合以下讀者:

- 從未編程過或初學Python的新手編程者