Invent Your Own Computer Games with Python, 3rd Edition
暫譯: 用 Python 創造自己的電腦遊戲(第三版)

Al Sweigart

  • 出版商: CreateSpace Independ
  • 出版日期: 2015-03-10
  • 售價: $950
  • 貴賓價: 9.5$903
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Paperback
  • ISBN: 1503212300
  • ISBN-13: 9781503212305
  • 相關分類: Python程式語言
  • 已過版

買這商品的人也買了...

商品描述

Invent Your Own Computer Games with Python teaches you how to program in the Python. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. The programs covered include Hangman, Tic Tac Toe, Reversi, Caesar Cipher, Guess the Number, and Dragon Realm. Later chapters cover how to make 2D graphical games using the popular Pygame library. You'll learn how to: * Put together loops, variables, input/output, and flow control statements into working programs * Use data structures such as lists, dictionaries, and tuples * Debug programs and find errors * Program simple game-playing AI opponents * Draw graphics and animation into your games The book is available under a Creative Commons license and can be downloaded in full for free from http://inventwithpython.com "Invent with Python" was written to be understandable by kids as young as 10 to 12 years old, although it is great for anyone of any age who has never programmed before.

商品描述(中文翻譯)

《用 Python 發明自己的電腦遊戲》教你如何使用 Python 進行程式設計。每一章都提供一個新遊戲的完整原始碼,然後從範例中教導程式設計概念。所涵蓋的程式包括:猜字遊戲(Hangman)、井字遊戲(Tic Tac Toe)、翻轉棋(Reversi)、凱薩密碼(Caesar Cipher)、猜數字(Guess the Number)和龍之領域(Dragon Realm)。後面的章節將介紹如何使用流行的 Pygame 函式庫製作 2D 圖形遊戲。

你將學會如何:
* 將迴圈、變數、輸入/輸出和流程控制語句組合成可運行的程式
* 使用資料結構,如列表(lists)、字典(dictionaries)和元組(tuples)
* 偵錯程式並找出錯誤
* 程式設計簡單的遊戲 AI 對手
* 在遊戲中繪製圖形和動畫

本書以創用 CC 授權發行,並可從 http://inventwithpython.com 免費下載完整內容。《用 Python 發明》旨在讓 10 到 12 歲的孩子也能理解,雖然對於任何年齡層的初學者來說都非常適合。