Leverage the power of programming to use the Raspberry Pi to create awesome games
The Raspberry Pi is a single-board mini computer designed to get more people (particularly children) interested in computer programming. It aims to make programming tools and educational programs as accessible as possible, making it very easy to get started with.
This book will guide you through six fun projects that show how programming can be used to be creative. Each project has clear step-by-step instructions and explanations helping children grasp the concepts easily.
You will start by setting up the Raspberry Pi and get to grips with the Scratch programming language to create simple animations. Gain and put to use your understanding of Python to write simple yet useful programs. Create and play a physical game by connecting it to the Raspberry Pi en route to become aware of a number of other possible uses for a very similar circuit/program. Finally, with an understanding of Sonic Pi, you will create your own music.
What You Will Learn
Gear up to start programming by setting up the Raspberry Pi and taking a tour of available applications
Understand the fundamentals of programming and electronics using the Raspberry Pi
Use the Linux operating system and programming languages such as Scratch and Python to build interesting projects
Gain a basic understanding of how the Python programming language works by writing simple programs
Build a fully functioning game and explore how to modify it to create new levels
Create animations and music to make your games and applications more exciting
Make computer code interact with the physical world
Add markers to your personal mapping program
Get an understanding of Sonic Pi, and discover how to use it to create your own music
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.