Python,PyGame,and Raspberry Pi Game Development,2nd Edition


Python,PyGame,and Raspberry Pi Game Development
Authors: Sloan Kelly
ISBN-10 书号: 1484245326
ISBN-13 书号: 9781484245323
Edition 版本: 2nd ed.
Publisher Finelybook 出版日期: 2019-05-29
pages 页数: 416 pages


Book Description
Expand your basic knowledge of Python and use PyGame to create fast-paced video games with great graphics and sounds. This second edition shows how you can integrate electronic components with your games using the build-in general purpose input/output (GPIO) pins and some Python code to create two new games.
You’ll learn about object-oriented programming (OOP) as well as design patterns,such as model-view-controller (MVC) and finite-state machines (FSMs). Whether using Windows,macOS,Linux,or a Raspberry Pi,you can unleash the power of Python and PyGame to create great looking games.
The book also includes complete code listings and explanations for “Bricks,” “Snake,” and “Invaders”―three fully working games. These allow you to get started in making your own great games and then modify them or build your own exciting titles. The concepts are further explained using games such as “Copycat,” where the player must concentrate and repeat the sequence of lights and sounds,and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 2–4 players.
What You’ll Learn
Gain basic knowledge of Python and employ it for game development
Study game projects you can use as templates,such as Bricks,Snake,and Invaders
Work with user-defined functions,inheritance,composition,and aggregation
Implement finite state machines
Integrate your game with electronics using the GPIO pins

1. What Is a Programming Language?
2. What Is Python?
3. Introducing Python
4. Breaking Free from the Interpreter
5. Making Decisions
6. Making the Raspberry Pi Repeat Itself
7. Containers
8. Putting It Together. Tic-Tac-Toe
9. Basic Introduction to PyGame
10. Designing Your Game
11. Game Project: Bricks
12. User-Defined Functions
13. File Input and Output
14. Introducing Object-Oriented Programming
15. Inheritance,Composition,and Aggregation
16. Game Project: Snake
17. Model View Controller
18. Audio
19. Finite State Machines
20. Game Project: Invaders
21. Simple Electronics with the GPIO Pins
22. Game Project: Memory
23. Game Project: Quiz
24. Conclusion

下载地址 Download
打赏
未经允许不得转载:finelybook » Python,PyGame,and Raspberry Pi Game Development,2nd Edition

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏