Python, Pygame, and Raspberry Pi Game Development
Kelly, Sloan
- 出版商: Apress
- 出版日期: 2019-05-29
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 353
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484245326
- ISBN-13: 9781484245323
-
相關分類:
Raspberry Pi
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,460$2,337 -
$2,831The Design of the UNIX Operating System (Paperback)
-
$2,510$2,385 -
$480$379 -
$690$538 -
$580$493 -
$1,550$1,473 -
$580$458 -
$580$493 -
$940$700 -
$780$616 -
$680$537 -
$590$466 -
$580$458 -
$420$378 -
$800$720 -
$2,870$2,727 -
$580$493 -
$1,663,260$1,575,720 -
$680$537 -
$620$465 -
$980$774 -
$2,450$2,328 -
$2,980$2,831 -
$780$616
相關主題
商品描述
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
Who This Book Is For
Experienced coders or game developers new to Python, PyGame and Raspberry Pi would find this book helpful. It is also for beginners interested in getting into game development.