Guide to Programming with Python

Michael Dawson

  • 出版商: Course Technology
  • 出版日期: 2007-03-13
  • 定價: $2,300
  • 售價: 8.0$1,840
  • 語言: 英文
  • 頁數: 496
  • 裝訂: Paperback
  • ISBN: 1423901126
  • ISBN-13: 9781423901129
  • 相關分類: Python程式語言
  • 立即出貨(限量) (庫存=1)

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

商品描述

Features

  • Uses game programming examples that entertain and engage the reader while presenting important programming techniques.
  • Covers every new concept with a small but complete example program and brings all of the concepts together in the chapter projects.
  • Challenges the reader in the Chapter Projects to use what he or she has learned.
  • Comes with a CD-ROM containing Python 2.3.5, Pygame 1.6, LiveWires 2.0, and source code for the material in the text.

 

Table of Contents

Introduction
1. Getting Started: The Game Over Program
2. Types, Variables, and Simple I/O: The Useless Trivia Program
3. Branching, while Loops, and Program Planning: The Guess My Number Game
4. for Loops, Strings, and Tuples: The Word Jumble Game
5. Lists and Dictionaries: The Hangman Game
6. Functions: Tic-Tac-Toe
7. Files and Exceptions: The Trivia Challenge Game
8. Software Objects: The Critter Caretaker Program
9. Object-Oriented Programming: The Blackjack Game
10. GUI Development: The Mad Lib Program
11. Graphics: The Pizza Panic Game
12. Sound, Animation, and Program Development: The Astrocrash Game
Appendix A: Livewires Reference

商品描述(中文翻譯)

功能

- 使用遊戲編程示例來娛樂和吸引讀者,同時介紹重要的編程技巧。
- 用一個小而完整的示例程序來介紹每個新概念,並在章節項目中將所有概念結合起來。
- 在章節項目中挑戰讀者運用所學知識。
- 附帶一個光盤,其中包含Python 2.3.5、Pygame 1.6、LiveWires 2.0以及教材中的源代碼。

目錄

- 引言
- 1. 入門:遊戲結束程序
- 2. 類型、變量和簡單輸入輸出:無用的雜學程序
- 3. 分支、while循環和程序規劃:猜數字遊戲
- 4. for循環、字符串和元組:詞語混亂遊戲
- 5. 列表和字典:絞刑遊戲
- 6. 函數:井字遊戲
- 7. 文件和異常:問答遊戲
- 8. 軟件對象:寵物照顧程序
- 9. 面向對象編程:二十一點遊戲
- 10. GUI開發:瘋狂填詞程序
- 11. 圖形:披薩恐慌遊戲
- 12. 音效、動畫和程序開發:星際碰撞遊戲
- 附錄A:LiveWires參考資料