目錄(108章)
倒序
- 封面
- 版權(quán)信息
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- Chapter 1. Welcome! Let's Get Started
- Python projects for you
- The prerequisites of Python
- Write and run your first program in the command line
- Make yourself a work folder
- A quick task for you
- Summary
- Chapter 2. Variables Functions and Users
- Variables
- Functions
- Users interacting with your program
- Using the text editor and the command line
- Build your own function – name()
- Going the extra mile
- A quick task for you
- Summary
- Chapter 3. Calculate This!
- The calculator
- Basic functions
- Operations on two numbers
- New functions – subtraction multiplication and pision
- Finding a remainder – modulo
- Running your program
- A quick task for you
- Summary
- Chapter 4. Making Decisions – Python Control Flows
- Is it equal not equal or something else?
- Conditional statements – if elif else
- Loops
- A quick task for you
- Summary
- Chapter 5. Loops and Logic
- Higher or Lower
- A quick task for you
- Summary
- Chapter 6. Working with Data – Lists and Dictionaries
- Lists
- Dictionaries
- List or dictionary
- A quick task for you
- Summary
- Chapter 7. What's in Your Backpack?
- Setting up our coding environment
- Planning to program your game
- Skills needed to make a program
- Score play again or quit?
- Getting and storing player information
- Adding items to the virtual backpack
- Limiting items in a virtual backpack
- Testing your code so far
- A game loop
- Bringing back the while loop
- Comparing guesses with backpack items
- Keeping score
- Ending the game
- Testing your game
- A quick task for you
- Summary
- Chapter 8. pygame
- What is pygame?
- Installing pygame
- pygame
- A quick task for you
- Summary
- Chapter 9. Tiny Tennis
- Introduction to game programming principles
- The game plan
- Creating an outline of game parts
- Section 1 – imports globals and drawings
- Initializing the score
- Testing section 1
- Section 2 – moving the paddles
- The increase and decrease value (-= and +=)
- Testing section 2
- Section 3 – moving the ball
- Testing – section 3
- Section 4 – draw screen and track the score
- Ending the program
- Play Tiny Tennis!
- Summary
- Chapter 10. Keep Coding!
- What we learned and your next steps
- Classes and objects – very important next steps!
- More fun with games
- Adding music to games
- Adding graphics to games
- Remake or design games
- Other games
- Other uses of Python
- Coding challenges
- Summary
- Appendix A. Quick Task Answers
- Chapter 1 Welcome! Let's Get Started
- Chapter 2 Variables Functions and Users
- Chapter 3 Calculate This!
- Chapter 4 Making Decisions – Python Control Flows
- Chapter 5 Loops and Logic
- Chapter 6 Working with Data – Lists and Dictionaries
- Chapter 7 What's in Your Backpack?
- Chapter 8 pygame
- Index 更新時(shí)間:2021-07-09 19:35:30
推薦閱讀
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(第三版)
- Software Defined Networking with OpenFlow
- CMDB分步構(gòu)建指南
- 數(shù)據(jù)庫系統(tǒng)原理及MySQL應(yīng)用教程
- 數(shù)據(jù)結(jié)構(gòu)(Python語言描述)(第2版)
- MySQL數(shù)據(jù)庫管理與開發(fā)(慕課版)
- Drupal 8 Module Development
- Node.js全程實(shí)例
- Java編程的邏輯
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)原理(第2版)
- Vue.js 3應(yīng)用開發(fā)與核心源碼解析
- 超好玩的Scratch 3.5少兒編程
- Mastering Unreal Engine 4.X
- Salt Cookbook
- Spring Boot實(shí)戰(zhàn):從0開始動手搭建企業(yè)級項(xiàng)目
- 微信小程序開發(fā)零基礎(chǔ)入門
- FreeSWITCH權(quán)威指南
- C#程序設(shè)計(jì)經(jīng)典300例
- WebGL編程指南
- 客戶驅(qū)動的產(chǎn)品開發(fā)
- 零基礎(chǔ)學(xué)Python(第2版)
- Python程序設(shè)計(jì)
- C語言從入門到項(xiàng)目實(shí)踐(超值版)
- JavaScript Domain:Driven Design
- Python深度學(xué)習(xí)從零開始學(xué)
- Beginning Data Science with Python and Jupyter
- Flutter組件詳解與實(shí)戰(zhàn)
- Node.js Blueprints
- Git:Mastering Version Control
- 一步一步跟我學(xué)Scratch 3.0編程