Code the Classics, 2nd Edition
Volume II



Book Details
Authors | Simon Brew, Allister Brimble, David Crookes, Andrew Gillett, Dan Malone, Sean M. Tracey, Eben Upton, Liz Upton |
Publisher | Raspberry Pi Press |
Published | 2024 |
Edition | 2nd |
Paperback | 298 pages |
Language | English |
ISBN-13 | 9781916868045 |
ISBN-10 | 1916868045 |
License | Creative Commons Attribution-NonCommercial-ShareAlike |
Book Description
This book not only tells the stories of some of the seminal video games of the 1980s, but shows you how to create your own games inspired by them, following examples programmed by Andrew Gillett, ably assisted by Raspberry Pi co-founder and CEO Eben Upton along with Sean M. Tracey.
In this book, you'll learn how to run and edit the games in this book by installing Python, Pygame Zero, and an IDE. You'll also:
- Get game design tips and tricks from the masters.
- Understand the fundamental tasks needed for every game: display images, play sound effects and receive inputs from the keyboard or a game controller.
- Learn how to code your own games with Pygame Zero, a library that helps automate those tasks.
- Explore the code listings and find out how they work.
You'll meet these vintage-inspired games, and learn from their code in between rounds of play:
- Avenger: fly across a scrolling landscape while you save humans from malevolent aliens.
- Beat Streets: fight your way through a level, and defeat a notorious crime boss.
- Eggzy: collect gems and survive as long as possible before time runs out.
- Leading Edge: Race a car on a pseudo-3d race track.
- Kinetix: Break bricks with your paddle, and use powerups to avoid various menaces.
This book is available under a Creative Commons Attribution-NonCommercial-ShareAlike license (CC BY-NC-SA), which means that you are free to copy, distribute, and modify it, as long as you credit the original author, don't use it for commercial purposes, and share any adaptations under the same license.
If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.