September 2016
Beginner
288 pages
6h 14m
English

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://www.nostarch.com/scratchplayground/ and play the game.

First, draw what you want the ...
Read now
Unlock full access