3 Maze Runner

Alphabet-you’ve probably played a maze game before, but have you ever tried making one? Mazes can be tricky to complete, but they’re easy to program. In this chapter, you’ll create a game that lets the player guide a cat through a maze to reach its goal—a delicious apple! You’ll learn how to move the cat with the keyboard and how to block its progress with walls.

Before you start coding, take a look at the final program. Go to https://nostarch.com/scratch3playground/ and play the game.

Sketch Out the Design

First, draw what you want ...

Get Scratch 3 Programming Playground now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.