Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.
Pagabile anche con Carta della cultura giovani e del merito, 18App Bonus Cultura e Carta del Docente
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
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.
Chapter 2: What Is Python?
Chapter 3: Introducing Python
Chapter 4: Breaking Free from the Interpreter
Chapter 5: Making Decisions
Chapter 6: Making the Raspberry Pi Repeat Itself
Chapter 7: Container Data Types
Chapter 8: Introduction to IDLE running on the Pixel Desktop
Chapter 10: Designing Your Game
Chapter 12: User-Defined Functions
Chapter 13: File Input and Output
Chapter 14: Introducing Object-Oriented Programming
Chapter 15: Inheritance, Composition, and Aggregation
Chapter 17: Model View Controller
Chapter 18: Sound
Chapter 19: Finite State Machines
Chapter 20: Invaders
Chapter 21: Simple Electronics with the GPIOs
Chapter 22: Copycat Game
Chapter 23: Couch Multi-Player Quiz Game
Il sito utilizza cookie ed altri strumenti di tracciamento che raccolgono informazioni dal dispositivo dell’utente. Oltre ai cookie tecnici ed analitici aggregati, strettamente necessari per il funzionamento di questo sito web, previo consenso dell’utente possono essere installati cookie di profilazione e marketing e cookie dei social media. Cliccando su “Accetto tutti i cookie” saranno attivate tutte le categorie di cookie. Per accettare solo deterninate categorie di cookie, cliccare invece su “Impostazioni cookie”. Chiudendo il banner o continuando a navigare saranno installati solo cookie tecnici. Per maggiori dettagli, consultare la Cookie Policy.