Hardware Reference
In-Depth Information
Chapter 2. Scratch
This chapter will introduce you to the amazing and fun world of programming. Learning to
program and code will allow you to bring your ideas to creation. If you have ever wanted to
make a game, but had no idea where to start, this is the place.
In this chapter, you will learn the basics needed to make your own video game on the Rasp-
berry Pi. You will learn how to:
• Launch Scratch
• Define your game's objectives
• Draw a character
• Make your character interact and move
• Design and program a Flappy Bird-style game
• Design and create a 2 player Ping Pong game